	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_monitor_read
_handle_monitor_read:                   ## @handle_monitor_read
	.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	$3080, %rsp                     ## imm = 0xC08
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-3056(%rbp), %rsi
	movl	$3000, %edx                     ## imm = 0xBB8
	xorl	%ecx, %ecx
	callq	_recv
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	xorl	%r12d, %r12d
	leaq	-3096(%rbp), %rdi
	leaq	-3056(%rbp), %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_ieee80211_radiotap_iterator_init
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_24
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
LBB0_9:
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_24
LBB0_3:
	leaq	-3096(%rbp), %rdi
	callq	_ieee80211_radiotap_iterator_next
	movq	_ENOENT@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	addl	%eax, %ecx
	jne	LBB0_6
## %bb.4:
	xorl	%r8d, %r8d
LBB0_22:
	movslq	-3080(%rbp), %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-3056, %rsi                    ## imm = 0xF410
	subl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_handle_frame
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	addq	$3080, %rsp                     ## imm = 0xC08
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, -3104(%rbp)               ## 8-byte Spill
	movl	$0, -3068(%rbp)                 ## 4-byte Folded Spill
	leaq	-3096(%rbp), %r12
	leaq	LJTI0_0(%rip), %r15
	xorl	%r13d, %r13d
	movl	$0, -3064(%rbp)                 ## 4-byte Folded Spill
	movl	$0, -3060(%rbp)                 ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rcx, -3112(%rbp)               ## 8-byte Spill
	jmp	LBB0_7
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-3088(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -3060(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_ieee80211_radiotap_iterator_next
	movl	%eax, %ecx
	addl	(%r14), %ecx
	je	LBB0_18
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-3096(%rbp), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-3088(%rbp), %rax
	movl	(%rax), %edi
	callq	_le_to_host16
	movl	%eax, %r13d
	movq	_IEEE80211_RADIOTAP_F_TX_FAIL@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
	movl	$1, -3064(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, -3068(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-3088(%rbp), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	movq	%rax, -3112(%rbp)               ## 8-byte Spill
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-3088(%rbp), %rax
	movq	_IEEE80211_RADIOTAP_F_FCS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-4(%rbx), %edx
	testl	%ecx, (%rax)
	cmovel	%ebx, %edx
	movl	%edx, %ebx
	jmp	LBB0_17
LBB0_8:
	movq	_MSG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_18:
	cmpl	$0, -3068(%rbp)                 ## 4-byte Folded Reload
	movl	-3064(%rbp), %eax               ## 4-byte Reload
	je	LBB0_20
## %bb.19:
	testl	%eax, %eax
	jne	LBB0_24
LBB0_20:
	testl	%eax, %eax
	je	LBB0_21
## %bb.23:
	movq	-3104(%rbp), %rax               ## 8-byte Reload
	movl	(%rax), %edi
	movslq	-3080(%rbp), %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-3056, %rsi                    ## imm = 0xF410
	subl	%eax, %ebx
	xorl	%ecx, %ecx
	testl	%r13d, %r13d
	sete	%cl
	movl	%ebx, %edx
	callq	_handle_tx_callback
	jmp	LBB0_24
LBB0_21:
	movq	-3104(%rbp), %r15               ## 8-byte Reload
	movq	-3112(%rbp), %r12               ## 8-byte Reload
	movl	-3060(%rbp), %r8d               ## 4-byte Reload
	jmp	LBB0_22
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: Monitor socket recv failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"nl80211: received invalid radiotap frame"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"nl80211: received invalid radiotap frame (%d)"

	.comm	_IEEE80211_RADIOTAP_F_FCS,4,2   ## @IEEE80211_RADIOTAP_F_FCS
	.comm	_IEEE80211_RADIOTAP_F_TX_FAIL,4,2 ## @IEEE80211_RADIOTAP_F_TX_FAIL
	.no_dead_strip	_handle_monitor_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_monitor_read
_handle_monitor_read:                   ; @handle_monitor_read
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #3056
	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, #-96]
	add	x1, sp, #40
	mov	w2, #3000
	mov	w3, #0
	bl	_recv
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x0, sp, #16
	add	x1, sp, #40
	mov	x2, x20
	mov	x3, #0
	bl	_ieee80211_radiotap_iterator_init
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_22
LBB0_3:
Lloh8:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
	b	LBB0_22
LBB0_4:
	add	x0, sp, #16
	bl	_ieee80211_radiotap_iterator_next
                                        ; kill: def $w0 killed $w0 def $x0
Lloh16:
	adrp	x24, _ENOENT@GOTPAGE
Lloh17:
	ldr	x24, [x24, _ENOENT@GOTPAGEOFF]
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_7
; %bb.5:
	mov	w22, #0
	mov	w21, #0
LBB0_6:
	ldrsw	x8, [sp, #32]
	add	x9, sp, #40
	add	x1, x9, x8
	sub	w2, w20, w8
	mov	x0, x19
	mov	x3, x22
	mov	x4, x21
	bl	_handle_frame
	b	LBB0_22
LBB0_7:
	mov	w25, #0
	mov	w23, #0
	mov	w26, #0
	mov	w21, #0
	mov	w22, #0
Lloh18:
	adrp	x28, _IEEE80211_RADIOTAP_F_FCS@GOTPAGE
Lloh19:
	ldr	x28, [x28, _IEEE80211_RADIOTAP_F_FCS@GOTPAGEOFF]
Lloh20:
	adrp	x27, lJTI0_0@PAGE
Lloh21:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #24]
	ldr	w21, [x8]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #16
	bl	_ieee80211_radiotap_iterator_next
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x24]
	cmn	w0, w8
	b.eq	LBB0_18
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cbnz	w0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [sp, #16]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	adr	x9, LBB0_8
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #24]
	ldr	w0, [x8]
	bl	_le_to_host16
Lloh22:
	adrp	x8, _IEEE80211_RADIOTAP_F_TX_FAIL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IEEE80211_RADIOTAP_F_TX_FAIL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	and	w23, w8, w0
	mov	w26, #1
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w25, #1
	b	LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	add	w22, w8, w8, lsl #2
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	ldr	w9, [x28]
	sub	w10, w20, #4
	tst	w9, w8
	csel	w20, w20, w10, eq
	b	LBB0_9
LBB0_17:
Lloh25:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
	b	LBB0_22
LBB0_18:
	cbz	w25, LBB0_20
; %bb.19:
	cbnz	w26, LBB0_22
LBB0_20:
	cbz	w26, LBB0_6
; %bb.21:
	ldr	w0, [x19]
	ldrsw	x8, [sp, #32]
	add	x9, sp, #40
	add	x1, x9, x8
	sub	w2, w20, w8
	cmp	w23, #0
	cset	w3, eq
	bl	_handle_tx_callback
LBB0_22:
	ldur	x8, [x29, #-96]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	add	sp, sp, #3056
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Monitor socket recv failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"nl80211: received invalid radiotap frame"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"nl80211: received invalid radiotap frame (%d)"

	.comm	_IEEE80211_RADIOTAP_F_FCS,4,2   ; @IEEE80211_RADIOTAP_F_FCS
	.comm	_IEEE80211_RADIOTAP_F_TX_FAIL,4,2 ; @IEEE80211_RADIOTAP_F_TX_FAIL
	.no_dead_strip	_handle_monitor_read
.subsections_via_symbols
