	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_tm_rx_event             ## -- Begin function ath6kl_tm_rx_event
	.p2align	4, 0x90
_ath6kl_tm_rx_event:                    ## @ath6kl_tm_rx_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.2:
	movq	%rsi, %r14
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rsi
	callq	_cfg80211_testmode_alloc_event_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	movq	_ATH6KL_TM_ATTR_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ATH6KL_TM_CMD_TCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_ATH6KL_TM_ATTR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_nla_put
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_kfree_skb
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rdi
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_warn                    ## TAILCALL
LBB0_9:
	movl	(%r12), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_testmode_event        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate testmode rx skb!\n"

	.comm	_ATH6KL_TM_ATTR_CMD,4,2         ## @ATH6KL_TM_ATTR_CMD
	.comm	_ATH6KL_TM_CMD_TCMD,4,2         ## @ATH6KL_TM_CMD_TCMD
	.comm	_ATH6KL_TM_ATTR_DATA,4,2        ## @ATH6KL_TM_ATTR_DATA
L_.str.1:                               ## @.str.1
	.asciz	"nla_put failed on testmode rx skb!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath6kl_tm_rx_event             ; -- Begin function ath6kl_tm_rx_event
	.p2align	2
_ath6kl_tm_rx_event:                    ; @ath6kl_tm_rx_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_6
; %bb.2:
	mov	x19, x1
	ldr	w0, [x0]
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x1, x20
	bl	_cfg80211_testmode_alloc_event_skb
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
Lloh2:
	adrp	x8, _ATH6KL_TM_ATTR_CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH6KL_TM_ATTR_CMD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _ATH6KL_TM_CMD_TCMD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH6KL_TM_CMD_TCMD@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_nla_put_u32
	cbnz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _ATH6KL_TM_ATTR_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH6KL_TM_ATTR_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_nla_put
	cbz	x0, LBB0_9
LBB0_5:
	mov	x0, x21
	bl	_kfree_skb
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ath6kl_warn
LBB0_9:
	ldr	w1, [x22]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cfg80211_testmode_event
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate testmode rx skb!\n"

	.comm	_ATH6KL_TM_ATTR_CMD,4,2         ; @ATH6KL_TM_ATTR_CMD
	.comm	_ATH6KL_TM_CMD_TCMD,4,2         ; @ATH6KL_TM_CMD_TCMD
	.comm	_ATH6KL_TM_ATTR_DATA,4,2        ; @ATH6KL_TM_ATTR_DATA
l_.str.1:                               ; @.str.1
	.asciz	"nla_put failed on testmode rx skb!\n"

.subsections_via_symbols
