	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_alloc_fw_monitor      ## -- Begin function iwl_pcie_alloc_fw_monitor
	.p2align	4, 0x90
_iwl_pcie_alloc_fw_monitor:             ## @iwl_pcie_alloc_fw_monitor
	.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
                                        ## kill: def $esi killed $esi def $rsi
	leal	11(%rsi), %eax
	testl	%esi, %esi
	movl	$26, %ebx
	cmovnel	%eax, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$27, %ebx
	setge	%dil
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_WARN
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$11, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_iwl_pcie_alloc_fw_monitor_block ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"External buffer size for monitor is too big %d, check the FW TLV\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_pcie_alloc_fw_monitor      ; -- Begin function iwl_pcie_alloc_fw_monitor
	.p2align	2
_iwl_pcie_alloc_fw_monitor:             ; @iwl_pcie_alloc_fw_monitor
	.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
	add	w8, w1, #11
	mov	w9, #26
	cmp	w1, #0
	csel	w20, w9, w8, eq
	cmp	w20, #26
	cset	w0, gt
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_WARN
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #11
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iwl_pcie_alloc_fw_monitor_block
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"External buffer size for monitor is too big %d, check the FW TLV\n"

.subsections_via_symbols
