	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_common_padpos
_ath5k_common_padpos:                   ## @ath5k_common_padpos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ieee80211_has_a4
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$24, %ecx
	testq	%rax, %rax
	movl	$24, %ebx
	cmovnel	%ecx, %ebx
	movl	%r14d, %edi
	callq	_ieee80211_is_data_qos
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	_IEEE80211_QOS_CTL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_IEEE80211_QOS_CTL_LEN,8,3      ## @IEEE80211_QOS_CTL_LEN
	.no_dead_strip	_ath5k_common_padpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_common_padpos
_ath5k_common_padpos:                   ; @ath5k_common_padpos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w19, [x8]
	mov	x0, x19
	bl	_ieee80211_has_a4
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, #24
	cmp	x0, #0
	mov	w9, #24
	csel	w20, w9, w8, eq
	mov	x0, x19
	bl	_ieee80211_is_data_qos
Lloh3:
	adrp	x8, _IEEE80211_QOS_CTL_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	add	w0, w8, w20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_IEEE80211_QOS_CTL_LEN,8,3      ; @IEEE80211_QOS_CTL_LEN
	.no_dead_strip	_ath5k_common_padpos
.subsections_via_symbols
