	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_if_parse_tkip_mic_test
_ieee80211_if_parse_tkip_mic_test:      ## @ieee80211_if_parse_tkip_mic_test
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %r15
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mac_pton
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_ieee80211_sdata_running
	testl	%eax, %eax
	je	LBB0_14
## %bb.2:
	movq	(%r15), %rdi
	addq	$124, %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %rbx
	movq	(%r15), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_skb_put
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STYPE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movl	16(%r14), %ecx
	cmpl	$128, %ecx
	je	LBB0_9
## %bb.4:
	cmpl	$129, %ecx
	jne	LBB0_12
## %bb.5:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%r15, %rcx
	movl	%eax, %r15d
	movl	12(%rcx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movq	%rcx, %r12
	callq	_memcpy
	movl	8(%r12), %edi
	movq	24(%r14), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	4(%r12), %edi
	movq	24(%r14), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movl	12(%r15), %edi
	movq	(%rax), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	8(%r15), %edi
	movq	24(%r14), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	4(%r15), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%r15, %r12
	movl	-56(%rbp), %r15d                ## 4-byte Reload
LBB0_11:
	orl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, (%r12)
	movq	%rbx, %rdi
	movl	$50, %esi
	callq	_skb_put
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$50, %edx
	callq	_memset
	movq	_IEEE80211_TX_INTFL_TKIP_MIC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	orl	%r15d, (%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_tx_skb
	jmp	LBB0_16
LBB0_12:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_14:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_DATA,4,2       ## @IEEE80211_STYPE_DATA
	.comm	_IEEE80211_FCTL_FROMDS,4,2      ## @IEEE80211_FCTL_FROMDS
	.comm	_IEEE80211_FCTL_TODS,4,2        ## @IEEE80211_FCTL_TODS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IEEE80211_TX_INTFL_TKIP_MIC_FAILURE,4,2 ## @IEEE80211_TX_INTFL_TKIP_MIC_FAILURE
	.no_dead_strip	_ieee80211_if_parse_tkip_mic_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_if_parse_tkip_mic_test
_ieee80211_if_parse_tkip_mic_test:      ; @ieee80211_if_parse_tkip_mic_test
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x23, [x0, #32]
Lloh3:
	adrp	x26, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	x0, x1
	mov	x1, x22
	bl	_mac_pton
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_ieee80211_sdata_running
	cbz	w0, LBB0_13
; %bb.2:
	ldr	x8, [x23]
	add	x0, x8, #124
	bl	_dev_alloc_skb
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
	ldr	x1, [x23]
	bl	_skb_reserve
	mov	x0, x21
	mov	w1, #24
	bl	_skb_put
	mov	x23, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh7:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _IEEE80211_STYPE_DATA@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IEEE80211_STYPE_DATA@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	mov	x24, x0
	ldr	w8, [x20, #16]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.5:
Lloh13:
	adrp	x8, _IEEE80211_FCTL_FROMDS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_FCTL_FROMDS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	mov	x25, x0
	ldr	w0, [x23, #12]
	ldr	w2, [x26]
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x23, #8]
	ldr	x1, [x20, #24]
	ldr	w2, [x26]
	bl	_memcpy
	ldr	w0, [x23, #4]
	ldr	x1, [x20, #24]
	ldr	w2, [x26]
	bl	_memcpy
	b	LBB0_10
LBB0_6:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
Lloh20:
	adrp	x8, _IEEE80211_FCTL_TODS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_FCTL_TODS@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	mov	x25, x0
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	w0, [x23, #12]
	ldr	x1, [x8]
	ldr	w2, [x26]
	bl	_memcpy
	ldr	w0, [x23, #8]
	ldr	x1, [x20, #24]
	ldr	w2, [x26]
	bl	_memcpy
	ldr	w0, [x23, #4]
	ldr	w2, [x26]
	mov	x1, x22
	bl	_memcpy
	mov	x0, x20
	bl	_mutex_unlock
LBB0_10:
	orr	w8, w25, w24
	str	w8, [x23]
	mov	x0, x21
	mov	w1, #50
	bl	_skb_put
	mov	w1, #0
	mov	w2, #50
	bl	_memset
Lloh23:
	adrp	x8, _IEEE80211_TX_INTFL_TKIP_MIC_FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_TX_INTFL_TKIP_MIC_FAILURE@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_IEEE80211_SKB_CB
	ldr	w8, [x0]
	orr	w8, w8, w22
	str	w8, [x0]
	mov	x0, x20
	mov	x1, x21
	bl	_ieee80211_tx_skb
	b	LBB0_15
LBB0_11:
	mov	x0, x21
	bl	_dev_kfree_skb
Lloh26:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_13:
Lloh28:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_15:
	ldur	x8, [x29, #-72]
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_17
; %bb.16:
	mov	x0, x19
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_DATA,4,2       ; @IEEE80211_STYPE_DATA
	.comm	_IEEE80211_FCTL_FROMDS,4,2      ; @IEEE80211_FCTL_FROMDS
	.comm	_IEEE80211_FCTL_TODS,4,2        ; @IEEE80211_FCTL_TODS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IEEE80211_TX_INTFL_TKIP_MIC_FAILURE,4,2 ; @IEEE80211_TX_INTFL_TKIP_MIC_FAILURE
	.no_dead_strip	_ieee80211_if_parse_tkip_mic_test
.subsections_via_symbols
