	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_trans_pcie_configure
_iwl_trans_pcie_configure:              ## @iwl_trans_pcie_configure
	.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	%rsi, %r15
	movq	%rdi, %r14
	callq	_IWL_TRANS_GET_PCIE_TRANS
	movq	%rax, %rbx
	movl	48(%r15), %eax
	movl	%eax, 56(%rbx)
	movl	44(%r15), %eax
	movl	%eax, 52(%rbx)
	movl	40(%r15), %eax
	movl	%eax, 48(%rbx)
	movq	(%r15), %rax
	movq	_MAX_NO_RECLAIM_CMDS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	(%r15), %rdx
	movq	%rdx, (%rbx)
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	44(%rbx), %edi
	movl	36(%r15), %esi
	shll	$2, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
LBB0_4:
	movl	32(%r15), %edi
	movl	%edi, 36(%rbx)
	callq	_iwl_trans_get_rb_size_order
	movl	%eax, 40(%rbx)
	movl	28(%r15), %eax
	movl	%eax, 32(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 28(%rbx)
	movl	20(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 8(%rbx)
	addl	$8, %eax
	movl	%eax, 12(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 4(%r14)
	movl	12(%r15), %eax
	movl	%eax, (%r14)
	movq	16(%rbx), %rax
	movq	_NETREG_DUMMY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_dummy_netdev              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NO_RECLAIM_CMDS,8,3        ## @MAX_NO_RECLAIM_CMDS
	.comm	_NETREG_DUMMY,8,3               ## @NETREG_DUMMY
	.no_dead_strip	_iwl_trans_pcie_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_trans_pcie_configure
_iwl_trans_pcie_configure:              ; @iwl_trans_pcie_configure
	.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	x21, x1
	mov	x20, x0
	bl	_IWL_TRANS_GET_PCIE_TRANS
	mov	x19, x0
	ldr	w8, [x21, #48]
	str	w8, [x0, #56]
	ldr	d0, [x21, #40]
	str	d0, [x0, #48]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _MAX_NO_RECLAIM_CMDS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_NO_RECLAIM_CMDS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19]
	b	LBB0_4
LBB0_2:
	ldr	x8, [x21]
	str	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #44]
	ldr	w1, [x21, #36]
	lsl	w2, w8, #2
	bl	_memcpy
LBB0_4:
	ldr	w0, [x21, #32]
	str	w0, [x19, #36]
	bl	_iwl_trans_get_rb_size_order
	ldr	x8, [x19, #16]!
	str	w0, [x19, #24]
	ldr	w9, [x21, #28]
	str	w9, [x19, #16]
	ldur	d0, [x21, #20]
	str	d0, [x19, #8]
	ldr	w9, [x21, #8]
	add	w10, w9, #8
	stp	w9, w10, [x19, #-8]
	ldur	d0, [x21, #12]
	str	d0, [x20]
Lloh3:
	adrp	x9, _NETREG_DUMMY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETREG_DUMMY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	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
LBB0_6:
	mov	x0, x19
	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
	b	_init_dummy_netdev
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NO_RECLAIM_CMDS,8,3        ; @MAX_NO_RECLAIM_CMDS
	.comm	_NETREG_DUMMY,8,3               ; @NETREG_DUMMY
	.no_dead_strip	_iwl_trans_pcie_configure
.subsections_via_symbols
