	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_request_firmware
_iwl_request_firmware:                  ## @iwl_request_firmware
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	8(%rdi), %rax
	movq	16(%rax), %rbx
	movq	8(%rax), %rcx
	movq	(%rcx), %rcx
	movq	_IWL_DEVICE_FAMILY_9000@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movl	4(%rax), %edi
	callq	_CSR_HW_REV_STEP
	movq	_SILICON_B_STEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rax
	movl	4(%rax), %edi
	callq	_CSR_HW_REV_STEP
	movq	_SILICON_C_STEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rdx
	jmp	LBB0_6
LBB0_5:
	movq	(%r15), %rdx
	decq	%rdx
LBB0_6:
	movq	%rdx, (%r15)
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_sprintf
	movq	(%r15), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	cmpq	(%rbx), %rcx
	jne	LBB0_10
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
LBB0_9:
	movl	16(%r15), %edi
	movq	16(%rbx), %rcx
	leaq	L_.str.7(%rip), %rdx
	leaq	-40(%rbp), %r8
	movl	$4, %esi
	callq	_snprintf
	movl	16(%r15), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_IWL_DEBUG_FW_INFO
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %edx
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_iwl_req_fw_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$1, %esi
	movq	%r15, %r9
	callq	_request_firmware_nowait
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
LBB0_11:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	8(%r15), %rax
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	subl	(%rax), %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_DEVICE_FAMILY_9000,8,3     ## @IWL_DEVICE_FAMILY_9000
	.comm	_SILICON_B_STEP,8,3             ## @SILICON_B_STEP
	.comm	_SILICON_C_STEP,8,3             ## @SILICON_C_STEP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only HW steps B and C are currently supported (0x%0x)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"%d"

L_.str.2:                               ## @.str.2
	.asciz	"no suitable firmware found!\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s%d is required\n"

L_.str.4:                               ## @.str.4
	.asciz	"minimum version required: %s%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"maximum version supported: %s%d\n"

L_.str.6:                               ## @.str.6
	.asciz	"check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.7:                               ## @.str.7
	.asciz	"%s%s.ucode"

L_.str.8:                               ## @.str.8
	.asciz	"attempting to load firmware '%s'\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_iwl_req_fw_callback,4,2        ## @iwl_req_fw_callback
	.no_dead_strip	_iwl_request_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_request_firmware
_iwl_request_firmware:                  ; @iwl_request_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #8]
	ldp	x9, x21, [x8, #8]
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IWL_DEVICE_FAMILY_9000@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IWL_DEVICE_FAMILY_9000@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x8, #4]
	bl	_CSR_HW_REV_STEP
Lloh6:
	adrp	x8, _SILICON_B_STEP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SILICON_B_STEP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_CSR_HW_REV_STEP
Lloh9:
	adrp	x8, _SILICON_C_STEP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SILICON_C_STEP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
LBB0_3:
	cbz	w20, LBB0_5
; %bb.4:
	ldr	x2, [x21]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19]
	sub	x2, x8, #1
LBB0_6:
	str	x2, [x19]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	bl	_sprintf
	ldr	x8, [x19]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.7:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
	ldp	x10, x8, [x21]
	ldr	x9, [x21, #16]
	cmp	x8, x10
	b.ne	LBB0_10
; %bb.8:
	stp	x9, x8, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	w0, [x19, #16]
	ldr	x3, [x21, #16]
Lloh18:
	adrp	x2, l_.str.7@PAGE
Lloh19:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x4, sp, #16
	mov	w1, #4
	bl	_snprintf
	ldr	w2, [x19, #16]
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_FW_INFO
Lloh22:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w2, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh25:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
Lloh28:
	adrp	x8, _iwl_req_fw_callback@GOTPAGE
Lloh29:
	ldr	x8, [x8, _iwl_req_fw_callback@GOTPAGEOFF]
Lloh30:
	ldr	w6, [x8]
	mov	w1, #1
	mov	x5, x19
	bl	_request_firmware_nowait
	b	LBB0_14
LBB0_10:
	stp	x9, x8, [sp]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	stp	x8, x9, [sp]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_IWL_ERR
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
Lloh37:
	adrp	x8, _ENOENT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str@PAGE
Lloh40:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldr	x8, [sp, #24]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	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
	add	sp, sp, #80
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_DEVICE_FAMILY_9000,8,3     ; @IWL_DEVICE_FAMILY_9000
	.comm	_SILICON_B_STEP,8,3             ; @SILICON_B_STEP
	.comm	_SILICON_C_STEP,8,3             ; @SILICON_C_STEP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only HW steps B and C are currently supported (0x%0x)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"%d"

l_.str.2:                               ; @.str.2
	.asciz	"no suitable firmware found!\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s%d is required\n"

l_.str.4:                               ; @.str.4
	.asciz	"minimum version required: %s%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"maximum version supported: %s%d\n"

l_.str.6:                               ; @.str.6
	.asciz	"check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.7:                               ; @.str.7
	.asciz	"%s%s.ucode"

l_.str.8:                               ; @.str.8
	.asciz	"attempting to load firmware '%s'\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_iwl_req_fw_callback,4,2        ; @iwl_req_fw_callback
	.no_dead_strip	_iwl_request_firmware
.subsections_via_symbols
