	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostap_80211_get_hdrlen        ## -- Begin function hostap_80211_get_hdrlen
	.p2align	4, 0x90
_hostap_80211_get_hdrlen:               ## @hostap_80211_get_hdrlen
	.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
	movl	%edi, %ebx
	callq	_ieee80211_is_data
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_ieee80211_has_a4
	movl	$30, %r14d
	testq	%rax, %rax
	jne	LBB0_5
LBB0_2:
	movl	%ebx, %edi
	callq	_ieee80211_is_cts
	movl	$10, %r14d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	%ebx, %edi
	callq	_ieee80211_is_ack
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %edi
	callq	_ieee80211_is_ctl
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	16(,%rcx,8), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostap_80211_get_hdrlen        ; -- Begin function hostap_80211_get_hdrlen
	.p2align	2
_hostap_80211_get_hdrlen:               ; @hostap_80211_get_hdrlen
	.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
	mov	x19, x0
	bl	_ieee80211_is_data
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ieee80211_has_a4
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #30
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_ieee80211_is_cts
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ieee80211_is_ack
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #10
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_ieee80211_is_ctl
	cmp	x0, #0
	mov	w8, #16
	mov	w9, #24
	csel	w0, w9, w8, eq
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
