	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iapp_receive_udp
_iapp_receive_udp:                      ## @iapp_receive_udp
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$8, -192(%rbp)
	movl	16(%rsi), %edi
	leaq	-176(%rbp), %rsi
	leaq	-200(%rbp), %r8
	leaq	-192(%rbp), %r9
	movl	$128, %edx
	xorl	%ecx, %ecx
	callq	_recvfrom
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	-200(%rbp), %rdi
	cmpq	8(%r14), %rdi
	je	LBB0_15
## %bb.3:
	movl	%eax, %r15d
	movl	(%r14), %eax
	movl	%eax, -184(%rbp)                ## 4-byte Spill
	movq	_HOSTAPD_MODULE_IAPP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	callq	_inet_ntoa
	movl	%eax, %r10d
	cmpl	$16, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rbx
	cmovbq	%rax, %rbx
	leaq	L_.str.1(%rip), %r8
	movl	-184(%rbp), %edi                ## 4-byte Reload
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_hostapd_logger
	addq	$16, %rsp
	cmpl	$16, %r15d
	jb	LBB0_15
## %bb.4:
	movl	-164(%rbp), %edi
	callq	_be_to_host16
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movl	(%r14), %r12d
	movq	_HOSTAPD_MODULE_IAPP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-176(%rbp), %eax
	movl	%eax, -188(%rbp)                ## 4-byte Spill
	movl	-172(%rbp), %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	-168(%rbp), %edi
	callq	_be_to_host16
	movl	%eax, %r10d
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %r8
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movl	-188(%rbp), %r9d                ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	callq	_hostapd_logger
	addq	$32, %rsp
	movl	-176(%rbp), %edx
	movq	_IAPP_VERSION@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_5
## %bb.6:
	movl	%r15d, %edx
	subl	%ebx, %edx
	jge	LBB0_8
## %bb.7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_15
LBB0_1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
LBB0_14:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_14
LBB0_8:
	jle	LBB0_10
## %bb.9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	%ebx, %r15d
LBB0_10:
	movl	-172(%rbp), %edx
	cmpl	$128, %edx
	je	LBB0_15
## %bb.11:
	cmpl	$129, %edx
	jne	LBB0_13
## %bb.12:
	addl	$-16, %r15d
	leaq	-200(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_iapp_process_add_notify
	jmp	LBB0_15
LBB0_13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_14
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iapp_receive_udp - recvfrom: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_HOSTAPD_MODULE_IAPP,4,2        ## @HOSTAPD_MODULE_IAPP
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Received %d byte IAPP frame from %s%s\n"

L_.str.2:                               ## @.str.2
	.asciz	" (too short)"

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

L_.str.4:                               ## @.str.4
	.asciz	"RX: version=%d command=%d id=%d len=%d\n"

	.comm	_IAPP_VERSION,4,2               ## @IAPP_VERSION
L_.str.5:                               ## @.str.5
	.asciz	"Dropping IAPP frame with unknown version %d"

L_.str.6:                               ## @.str.6
	.asciz	"Underflow IAPP frame (hlen=%d len=%d)"

L_.str.7:                               ## @.str.7
	.asciz	"Ignoring %d extra bytes from IAPP frame"

L_.str.8:                               ## @.str.8
	.asciz	"Unknown IAPP command %d"

	.no_dead_strip	_iapp_receive_udp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iapp_receive_udp
_iapp_receive_udp:                      ; @iapp_receive_udp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w8, #8
	str	w8, [sp, #28]
	ldr	w0, [x1, #16]
	add	x1, sp, #40
	add	x4, sp, #32
	add	x5, sp, #28
	mov	w2, #128
	mov	w3, #0
	bl	_recvfrom
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x0, [sp, #32]
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.2:
	ldr	w21, [x19]
Lloh3:
	adrp	x24, _HOSTAPD_MODULE_IAPP@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HOSTAPD_MODULE_IAPP@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh5:
	adrp	x25, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh6:
	ldr	x25, [x25, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
	ldr	w23, [x25]
	bl	_inet_ntoa
	mov	x6, x0
Lloh7:
	adrp	x8, l_.str.3@PAGE
Lloh8:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #16
	csel	x8, x9, x8, lo
	str	x8, [sp]
Lloh11:
	adrp	x4, l_.str.1@PAGE
Lloh12:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, #0
	mov	x2, x22
	mov	x3, x23
	mov	x5, x20
	bl	_hostapd_logger
	cmp	w20, #16
	b.lo	LBB0_8
; %bb.3:
	ldr	w0, [sp, #52]
	bl	_be_to_host16
	mov	x21, x0
	ldr	w22, [x19]
	ldr	w23, [x24]
	ldr	w24, [x25]
	ldp	w25, w26, [sp, #40]
	ldr	w0, [sp, #48]
	bl	_be_to_host16
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x21, [sp]
Lloh13:
	adrp	x4, l_.str.4@PAGE
Lloh14:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	mov	x2, x23
	mov	x3, x24
	mov	x5, x25
	mov	x6, x26
	bl	_hostapd_logger
	ldr	w2, [sp, #40]
Lloh15:
	adrp	x8, _IAPP_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IAPP_VERSION@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_10
; %bb.4:
	subs	w2, w20, w21
	b.ge	LBB0_11
; %bb.5:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x21
	b	LBB0_7
LBB0_6:
Lloh23:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
LBB0_7:
	bl	_wpa_printf
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.9:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_10:
Lloh34:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_7
LBB0_11:
	b.le	LBB0_13
; %bb.12:
Lloh39:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	mov	x20, x21
LBB0_13:
	ldr	w2, [sp, #44]
	cmp	w2, #128
	b.eq	LBB0_8
; %bb.14:
	cmp	w2, #129
	b.ne	LBB0_16
; %bb.15:
	sub	w3, w20, #16
	add	x1, sp, #32
	add	x2, sp, #40
	mov	x0, x19
	bl	_iapp_process_add_notify
	b	LBB0_8
LBB0_16:
Lloh44:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.8@PAGE
Lloh48:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_7
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iapp_receive_udp - recvfrom: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_HOSTAPD_MODULE_IAPP,4,2        ; @HOSTAPD_MODULE_IAPP
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Received %d byte IAPP frame from %s%s\n"

l_.str.2:                               ; @.str.2
	.asciz	" (too short)"

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

l_.str.4:                               ; @.str.4
	.asciz	"RX: version=%d command=%d id=%d len=%d\n"

	.comm	_IAPP_VERSION,4,2               ; @IAPP_VERSION
l_.str.5:                               ; @.str.5
	.asciz	"Dropping IAPP frame with unknown version %d"

l_.str.6:                               ; @.str.6
	.asciz	"Underflow IAPP frame (hlen=%d len=%d)"

l_.str.7:                               ; @.str.7
	.asciz	"Ignoring %d extra bytes from IAPP frame"

l_.str.8:                               ; @.str.8
	.asciz	"Unknown IAPP command %d"

	.no_dead_strip	_iapp_receive_udp
.subsections_via_symbols
