	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_trace_data
_iwl_trace_data:                        ## @iwl_trace_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_ieee80211_is_data
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%r15d, %edi
	callq	_ieee80211_has_a4
	testq	%rax, %rax
	movl	$24, %eax
	movl	$30, %ebx
	cmovel	%eax, %ebx
	movl	%r15d, %edi
	callq	_ieee80211_is_data_qos
	leal	2(%rbx), %ecx
	testq	%rax, %rax
	cmovel	%ebx, %ecx
	leal	8(%rcx), %edx
	movl	$1, %eax
	cmpl	%edx, (%r14)
	jle	LBB0_4
## %bb.3:
	movl	%ecx, %eax
	movq	8(%r14), %rcx
	movq	6(%rax,%rcx), %rbx
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	setne	%al
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_PAE,4,2                  ## @ETH_P_PAE
	.no_dead_strip	_iwl_trace_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_trace_data
_iwl_trace_data:                        ; @iwl_trace_data
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ieee80211_is_data
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_ieee80211_has_a4
	cmp	x0, #0
	mov	w8, #30
	mov	w9, #24
	csel	w21, w9, w8, eq
	mov	x0, x20
	bl	_ieee80211_is_data_qos
	add	w8, w21, #2
	cmp	x0, #0
	csel	w8, w21, w8, eq
	ldr	w9, [x19]
	add	w10, w8, #8
	cmp	w9, w10
	b.le	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	add	x8, x9, w8, uxtw
	ldur	x19, [x8, #6]
Lloh0:
	adrp	x8, _ETH_P_PAE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_PAE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	cmp	x19, x0
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_PAE,4,2                  ; @ETH_P_PAE
	.no_dead_strip	_iwl_trace_data
.subsections_via_symbols
