	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iapp_process_add_notify
_iapp_process_add_notify:               ## @iapp_process_add_notify
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$8, %ecx
	jne	LBB0_3
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movl	4(%rdx), %esi
	callq	_ap_get_sta
	movq	%rax, %r12
	movl	(%r15), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_HOSTAPD_MODULE_IAPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_HOSTAPD_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	8(%r14), %edi
	callq	_be_to_host16
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r13), %edi
	callq	_inet_ntoa
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_ntohs
	movl	%eax, %r10d
	testq	%r12, %r12
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rax, %rbx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r8
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_hostapd_logger
	addq	$32, %rsp
	testq	%r12, %r12
	je	LBB0_2
## %bb.4:
	movl	(%r15), %edi
	movl	4(%r14), %esi
	movq	_HOSTAPD_MODULE_IAPP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %r8
	xorl	%eax, %eax
	callq	_hostapd_logger
	movl	(%r15), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ap_sta_disconnect              ## TAILCALL
LBB0_3:
	movl	%ecx, %eax
	movq	_MSG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$8, %ecx
	movl	%eax, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid IAPP-ADD packet length %d (expected %lu)"

	.comm	_HOSTAPD_MODULE_IAPP,4,2        ## @HOSTAPD_MODULE_IAPP
	.comm	_HOSTAPD_LEVEL_INFO,4,2         ## @HOSTAPD_LEVEL_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Received IAPP ADD-notify (seq# %d) from %s:%d%s"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	" (STA not found)"

	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
L_.str.4:                               ## @.str.4
	.asciz	"Removing STA due to IAPP ADD-notify"

	.no_dead_strip	_iapp_process_add_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iapp_process_add_notify
_iapp_process_add_notify:               ; @iapp_process_add_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w3, #8
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0]
	ldr	w1, [x2, #4]
	bl	_ap_get_sta
	mov	x20, x0
	ldr	w23, [x19]
Lloh0:
	adrp	x8, _HOSTAPD_MODULE_IAPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOSTAPD_MODULE_IAPP@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _HOSTAPD_LEVEL_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTAPD_LEVEL_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	ldp	w26, w0, [x21, #4]
	bl	_be_to_host16
	mov	x27, x0
	ldr	w0, [x22, #4]
	bl	_inet_ntoa
	mov	x28, x0
	ldr	w0, [x22]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
Lloh6:
	adrp	x8, l_.str.2@PAGE
Lloh7:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh8:
	adrp	x9, l_.str.3@PAGE
Lloh9:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x20, #0
	csel	x8, x9, x8, eq
	stp	x0, x8, [sp, #16]
Lloh10:
	adrp	x4, l_.str.1@PAGE
Lloh11:
	add	x4, x4, l_.str.1@PAGEOFF
	stp	x27, x28, [sp]
	mov	x0, x23
	mov	x1, x26
	mov	x2, x24
	mov	x3, x25
	bl	_hostapd_logger
	cbz	x20, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	ldr	w1, [x21, #4]
Lloh12:
	adrp	x8, _HOSTAPD_MODULE_IAPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HOSTAPD_MODULE_IAPP@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x4, l_.str.4@PAGE
Lloh19:
	add	x4, x4, l_.str.4@PAGEOFF
	bl	_hostapd_logger
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ap_sta_disconnect
LBB0_3:
Lloh20:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	mov	w3, #8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_wpa_printf
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid IAPP-ADD packet length %d (expected %lu)"

	.comm	_HOSTAPD_MODULE_IAPP,4,2        ; @HOSTAPD_MODULE_IAPP
	.comm	_HOSTAPD_LEVEL_INFO,4,2         ; @HOSTAPD_LEVEL_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Received IAPP ADD-notify (seq# %d) from %s:%d%s"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	" (STA not found)"

	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
l_.str.4:                               ; @.str.4
	.asciz	"Removing STA due to IAPP ADD-notify"

	.no_dead_strip	_iapp_process_add_notify
.subsections_via_symbols
