	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac80211_hwsim_monitor_rx
_mac80211_hwsim_monitor_rx:             ## @mac80211_hwsim_monitor_rx
	.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
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ieee80211_get_tx_rate
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_hwsim_mon@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$72, %esi
	xorl	%edx, %edx
	callq	_skb_copy_expand
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$72, %esi
	callq	_skb_push
	movq	%r13, %rbx
	movq	%rax, %r13
	movq	_PKTHDR_RADIOTAP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	movq	$0, 56(%r13)
	movl	$72, %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%r13)
	movq	_IEEE80211_RADIOTAP_FLAGS@GOTPCREL(%rip), %rax
	movq	_IEEE80211_RADIOTAP_RATE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_IEEE80211_RADIOTAP_TSFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_IEEE80211_RADIOTAP_CHANNEL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, 40(%r13)
	movq	%r12, %rdi
	callq	___mac80211_hwsim_get_tsf
	movl	%eax, 32(%r13)
	movq	$0, 24(%r13)
	movslq	(%r14), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
	movl	%eax, (%r13)
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r13)
	movq	_IEEE80211_CHAN_2GHZ@GOTPCREL(%rip), %rax
	movq	_IEEE80211_RATE_ERP_G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%r14), %ecx
	jne	LBB0_4
## %bb.5:
	movq	_IEEE80211_CHAN_CCK@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_IEEE80211_CHAN_OFDM@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	_hwsim_mon@GOTPCREL(%rip), %rbx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movl	(%rbx), %eax
	movl	%eax, 16(%r15)
	movq	%r15, %rdi
	callq	_skb_reset_mac_header
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 4(%r15)
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_rx                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hwsim_mon,4,2                  ## @hwsim_mon
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_PKTHDR_RADIOTAP_VERSION,4,2    ## @PKTHDR_RADIOTAP_VERSION
	.comm	_IEEE80211_RADIOTAP_FLAGS,4,2   ## @IEEE80211_RADIOTAP_FLAGS
	.comm	_IEEE80211_RADIOTAP_RATE,4,2    ## @IEEE80211_RADIOTAP_RATE
	.comm	_IEEE80211_RADIOTAP_TSFT,4,2    ## @IEEE80211_RADIOTAP_TSFT
	.comm	_IEEE80211_RADIOTAP_CHANNEL,4,2 ## @IEEE80211_RADIOTAP_CHANNEL
	.comm	_IEEE80211_CHAN_2GHZ,4,2        ## @IEEE80211_CHAN_2GHZ
	.comm	_IEEE80211_RATE_ERP_G,4,2       ## @IEEE80211_RATE_ERP_G
	.comm	_IEEE80211_CHAN_OFDM,4,2        ## @IEEE80211_CHAN_OFDM
	.comm	_IEEE80211_CHAN_CCK,4,2         ## @IEEE80211_CHAN_CCK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_PACKET_OTHERHOST,4,2           ## @PACKET_OTHERHOST
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
	.no_dead_strip	_mac80211_hwsim_monitor_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac80211_hwsim_monitor_rx
_mac80211_hwsim_monitor_rx:             ; @mac80211_hwsim_monitor_rx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0]
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x1, x0
	mov	x0, x21
	bl	_ieee80211_get_tx_rate
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x24, _hwsim_mon@GOTPAGE
Lloh1:
	ldr	x24, [x24, _hwsim_mon@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_netif_running
	cbz	w0, LBB0_1
; %bb.3:
Lloh2:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #72
	mov	w2, #0
	bl	_skb_copy_expand
	cbz	x0, LBB0_1
; %bb.4:
	mov	x19, x0
	mov	w1, #72
	bl	_skb_push
	mov	x23, x0
Lloh5:
	adrp	x8, _PKTHDR_RADIOTAP_VERSION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PKTHDR_RADIOTAP_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #64]
	str	xzr, [x0, #56]
	mov	w0, #72
	bl	_cpu_to_le16
	str	x0, [x23, #48]
Lloh8:
	adrp	x8, _IEEE80211_RADIOTAP_FLAGS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_RADIOTAP_FLAGS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh11:
	adrp	x10, _IEEE80211_RADIOTAP_RATE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IEEE80211_RADIOTAP_RATE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh14:
	adrp	x10, _IEEE80211_RADIOTAP_TSFT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IEEE80211_RADIOTAP_TSFT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh17:
	adrp	x10, _IEEE80211_RADIOTAP_CHANNEL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _IEEE80211_RADIOTAP_CHANNEL@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w8, w9
	bl	_cpu_to_le32
	str	w0, [x23, #40]
	mov	x0, x22
	bl	___mac80211_hwsim_get_tsf
	str	w0, [x23, #32]
	str	xzr, [x23, #24]
	ldrsw	x8, [x21]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w9, asr #1
	str	w8, [x23]
	ldr	w0, [x20]
	bl	_cpu_to_le16
	str	x0, [x23, #16]
Lloh20:
	adrp	x8, _IEEE80211_CHAN_2GHZ@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_CHAN_2GHZ@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x21, #4]
Lloh23:
	adrp	x10, _IEEE80211_RATE_ERP_G@GOTPAGE
Lloh24:
	ldr	x10, [x10, _IEEE80211_RATE_ERP_G@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
Lloh26:
	adrp	x11, _IEEE80211_CHAN_CCK@GOTPAGE
Lloh27:
	ldr	x11, [x11, _IEEE80211_CHAN_CCK@GOTPAGEOFF]
Lloh28:
	adrp	x12, _IEEE80211_CHAN_OFDM@GOTPAGE
Lloh29:
	ldr	x12, [x12, _IEEE80211_CHAN_OFDM@GOTPAGEOFF]
	tst	w10, w9
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	x0, [x23, #8]
	ldr	w8, [x24]
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_skb_reset_mac_header
Lloh30:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _PACKET_OTHERHOST@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PACKET_OTHERHOST@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh36:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x19, #4]
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_netif_rx
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_hwsim_mon,4,2                  ; @hwsim_mon
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_PKTHDR_RADIOTAP_VERSION,4,2    ; @PKTHDR_RADIOTAP_VERSION
	.comm	_IEEE80211_RADIOTAP_FLAGS,4,2   ; @IEEE80211_RADIOTAP_FLAGS
	.comm	_IEEE80211_RADIOTAP_RATE,4,2    ; @IEEE80211_RADIOTAP_RATE
	.comm	_IEEE80211_RADIOTAP_TSFT,4,2    ; @IEEE80211_RADIOTAP_TSFT
	.comm	_IEEE80211_RADIOTAP_CHANNEL,4,2 ; @IEEE80211_RADIOTAP_CHANNEL
	.comm	_IEEE80211_CHAN_2GHZ,4,2        ; @IEEE80211_CHAN_2GHZ
	.comm	_IEEE80211_RATE_ERP_G,4,2       ; @IEEE80211_RATE_ERP_G
	.comm	_IEEE80211_CHAN_OFDM,4,2        ; @IEEE80211_CHAN_OFDM
	.comm	_IEEE80211_CHAN_CCK,4,2         ; @IEEE80211_CHAN_CCK
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_PACKET_OTHERHOST,4,2           ; @PACKET_OTHERHOST
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
	.no_dead_strip	_mac80211_hwsim_monitor_rx
.subsections_via_symbols
