	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dump_ini_mon_fill_header
_iwl_dump_ini_mon_fill_header:          ## @iwl_dump_ini_mon_fill_header
	.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	%r9d, %r12d
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rsi
	callq	_iwl_trans_grab_nic_access
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movl	%r13d, %esi
	callq	_iwl_read_prph_no_grab
	movl	%eax, %r13d
	movl	(%rbx), %edi
	movl	%r12d, %esi
	callq	_iwl_read_prph_no_grab
	movl	%eax, %r12d
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_iwl_trans_release_nic_access
	movq	_IWL_INI_DUMP_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r15)
	andl	%r14d, %r13d
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r15)
	andl	16(%rbp), %r12d
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r15)
	movq	(%r15), %rax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_ERR
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get monitor header\n"

	.comm	_IWL_INI_DUMP_VER,4,2           ## @IWL_INI_DUMP_VER
	.no_dead_strip	_iwl_dump_ini_mon_fill_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dump_ini_mon_fill_header
_iwl_dump_ini_mon_fill_header:          ; @iwl_dump_ini_mon_fill_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x6
	mov	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x19, x2
	mov	x22, x0
	ldr	w0, [x0]
	add	x1, sp, #8
	bl	_iwl_trans_grab_nic_access
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	mov	x1, x24
	bl	_iwl_read_prph_no_grab
	mov	x24, x0
	ldr	w0, [x22]
	mov	x1, x23
	bl	_iwl_read_prph_no_grab
	mov	x23, x0
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_iwl_trans_release_nic_access
Lloh0:
	adrp	x8, _IWL_INI_DUMP_VER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_INI_DUMP_VER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x19, #24]
	and	w0, w24, w21
	bl	_cpu_to_le32
	str	x0, [x19, #16]
	and	w0, w23, w20
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	ldr	x0, [x19]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_IWL_ERR
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get monitor header\n"

	.comm	_IWL_INI_DUMP_VER,4,2           ; @IWL_INI_DUMP_VER
	.no_dead_strip	_iwl_dump_ini_mon_fill_header
.subsections_via_symbols
