	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_wmi_data_sync_send
_ath6kl_wmi_data_sync_send:             ## @ath6kl_wmi_data_sync_send
	.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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpl	%r14d, (%r15)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_skb_push
	movq	(%rbx), %r13
	movq	_SYNC_MSGTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_WMI_DATA_HDR_MSG_TYPE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, (%r13)
	movq	_WMI_DATA_HDR_IF_IDX_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movl	%eax, 4(%r13)
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath6kl_control_tx              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SYNC_MSGTYPE,4,2               ## @SYNC_MSGTYPE
	.comm	_WMI_DATA_HDR_MSG_TYPE_SHIFT,4,2 ## @WMI_DATA_HDR_MSG_TYPE_SHIFT
	.comm	_WMI_DATA_HDR_IF_IDX_MASK,4,2   ## @WMI_DATA_HDR_IF_IDX_MASK
	.no_dead_strip	_ath6kl_wmi_data_sync_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_wmi_data_sync_send
_ath6kl_wmi_data_sync_send:             ; @ath6kl_wmi_data_sync_send
	.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	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, w20
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_dev_kfree_skb
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	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_3:
	mov	w0, #1
	bl	_WARN_ON
	cbnz	x0, LBB0_2
LBB0_4:
	mov	x0, x19
	mov	w1, #8
	bl	_skb_push
	ldr	x23, [x19]
Lloh3:
	adrp	x8, _SYNC_MSGTYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYNC_MSGTYPE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _WMI_DATA_HDR_MSG_TYPE_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WMI_DATA_HDR_MSG_TYPE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	str	w8, [x23]
Lloh9:
	adrp	x8, _WMI_DATA_HDR_IF_IDX_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WMI_DATA_HDR_IF_IDX_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w0, w8, w22
	bl	_cpu_to_le16
	str	w0, [x23, #4]
	ldr	w0, [x21, #4]
	mov	x1, x19
	mov	x2, x20
	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	_ath6kl_control_tx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SYNC_MSGTYPE,4,2               ; @SYNC_MSGTYPE
	.comm	_WMI_DATA_HDR_MSG_TYPE_SHIFT,4,2 ; @WMI_DATA_HDR_MSG_TYPE_SHIFT
	.comm	_WMI_DATA_HDR_IF_IDX_MASK,4,2   ; @WMI_DATA_HDR_IF_IDX_MASK
	.no_dead_strip	_ath6kl_wmi_data_sync_send
.subsections_via_symbols
