	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_fw_get_crash_dump_bounds
_wil_fw_get_crash_dump_bounds:          ## @wil_fw_get_crash_dump_bounds
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	_fw_mapping@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUILD_BUG_ON
	movq	(%r12), %rdi
	movq	(%rdi), %r13
	movq	8(%rdi), %rbx
	addq	%r13, %rbx
	subq	16(%rdi), %rbx
	callq	_ARRAY_SIZE
	cmpl	$2, %eax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jl	LBB0_7
## %bb.3:
	movl	$1, %r14d
	movl	$56, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %r15
	cmpq	%rax, %r14
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	cmpl	$0, (%rdi,%r15)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-24(%rdi,%r15), %rax
	cmpq	%r13, %rax
	cmovlq	%rax, %r13
	addq	-16(%rdi,%r15), %rax
	subq	-8(%rdi,%r15), %rax
	cmpq	%rbx, %rax
	cmovgq	%rax, %rbx
	jmp	LBB0_6
LBB0_7:
	subq	%r13, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	xorl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movq	%r13, (%rcx)
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_fw_mapping,8,3                 ## @fw_mapping
	.no_dead_strip	_wil_fw_get_crash_dump_bounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_fw_get_crash_dump_bounds
_wil_fw_get_crash_dump_bounds:          ; @wil_fw_get_crash_dump_bounds
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _fw_mapping@GOTPAGE
Lloh1:
	ldr	x21, [x21, _fw_mapping@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #0
	cset	w0, eq
	bl	_BUILD_BUG_ON
	ldr	x0, [x21]
	ldp	x22, x8, [x0]
	ldr	x9, [x0, #16]
	add	x8, x8, x22
	sub	x23, x8, x9
	bl	_ARRAY_SIZE
	cmp	w0, #2
	b.lt	LBB0_6
; %bb.2:
	mov	x24, #0
	mov	w25, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x24, x24, #32
	cmp	x25, w0, sxtw
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	add	x8, x0, x24
	ldr	w9, [x8, #56]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x10, [x8, #32]
	cmp	x9, x22
	csel	x22, x9, x22, lt
	ldr	x8, [x8, #48]
	add	x9, x10, x9
	sub	x8, x9, x8
	cmp	x8, x23
	csel	x23, x8, x23, gt
	b	LBB0_3
LBB0_6:
	sub	x8, x23, x22
	str	x8, [x20]
	mov	w0, #0
	cbz	x19, LBB0_9
; %bb.7:
	str	x22, [x19]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_fw_mapping,8,3                 ; @fw_mapping
	.no_dead_strip	_wil_fw_get_crash_dump_bounds
.subsections_via_symbols
