	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ikev2_build_notification
_ikev2_build_notification:              ## @ikev2_build_notification
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_wpabuf_put
	movq	%rax, %r15
	movl	%r14d, 16(%rax)
	movq	$0, 8(%rax)
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_be16
	movl	(%rbx), %edx
	cmpl	$129, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_8
## %bb.3:
	movl	4(%rbx), %esi
	cmpl	$-1, %esi
	je	LBB0_11
## %bb.4:
	movq	%r12, %rdi
	callq	_wpabuf_put_be16
	movl	(%r13), %edi
	movl	4(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_5:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	subq	%r15, %rax
	sarq	$2, %rax
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	_WPA_PUT_BE16
	jmp	LBB0_10
LBB0_6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_9
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_9:
	movl	$-1, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IKEV2: Adding Notification payload"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"IKEV2: No Notify Message Type available"

L_.str.2:                               ## @.str.2
	.asciz	"IKEV2: No DH Group selected for INVALID_KE_PAYLOAD notifications"

L_.str.3:                               ## @.str.3
	.asciz	"IKEV2: INVALID_KE_PAYLOAD - request DH Group #%d"

L_.str.4:                               ## @.str.4
	.asciz	"IKEV2: Unsupported Notify Message Type %d"

	.no_dead_strip	_ikev2_build_notification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ikev2_build_notification
_ikev2_build_notification:              ; @ikev2_build_notification
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x0, x19
	mov	w1, #24
	bl	_wpabuf_put
	mov	x20, x0
	str	w22, [x0, #16]
	str	xzr, [x0, #8]
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put_u8
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put_u8
	ldr	w1, [x21]
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	w8, [x21]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
	ldr	w1, [x21, #4]
	cmn	w1, #1
	b.eq	LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_wpabuf_put_be16
	ldr	w0, [x23]
	ldr	w8, [x21, #4]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put
	sub	x8, x0, x20
	asr	x1, x8, #2
	ldr	w0, [x20]
	bl	_WPA_PUT_BE16
	mov	w0, #0
	b	LBB0_10
LBB0_6:
Lloh6:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh11:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IKEV2: Adding Notification payload"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"IKEV2: No Notify Message Type available"

l_.str.2:                               ; @.str.2
	.asciz	"IKEV2: No DH Group selected for INVALID_KE_PAYLOAD notifications"

l_.str.3:                               ; @.str.3
	.asciz	"IKEV2: INVALID_KE_PAYLOAD - request DH Group #%d"

l_.str.4:                               ; @.str.4
	.asciz	"IKEV2: Unsupported Notify Message Type %d"

	.no_dead_strip	_ikev2_build_notification
.subsections_via_symbols
