	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function est_settings
_est_settings:                          ## @est_settings
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r15d
	callq	_device_get_softc
	movq	%rax, %rcx
	movl	(%r14), %eax
	movq	_EST_MAX_SETTINGS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_2
## %bb.1:
	movq	_E2BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_2:
	movslq	(%rcx), %rsi
	xorl	%eax, %eax
	movl	$0, %edx
	testq	%rsi, %rsi
	jle	LBB0_5
## %bb.3:
	movq	8(%rcx), %rcx
	leaq	(%rsi,%rsi,2), %rdx
	leaq	(%rcx,%rdx,4), %rsi
	addq	$16, %rbx
	xorl	%edx, %edx
	movq	_EST_TRANS_LAT@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx), %edi
	movl	%edi, (%rbx)
	movl	4(%rcx), %edi
	movl	%edi, -4(%rbx)
	movl	(%rcx), %edi
	movl	%edi, -8(%rbx)
	movl	(%r8), %edi
	movl	%edi, -12(%rbx)
	movl	%r15d, -16(%rbx)
	addq	$12, %rcx
	addq	$20, %rbx
	incl	%edx
	cmpq	%rsi, %rcx
	jb	LBB0_4
LBB0_5:
	movl	%edx, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EST_MAX_SETTINGS,4,2           ## @EST_MAX_SETTINGS
	.comm	_E2BIG,4,2                      ## @E2BIG
	.comm	_EST_TRANS_LAT,4,2              ## @EST_TRANS_LAT
	.no_dead_strip	_est_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function est_settings
_est_settings:                          ; @est_settings
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_device_get_softc
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _EST_MAX_SETTINGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EST_MAX_SETTINGS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _E2BIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
	ldrsw	x10, [x0]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w8, #0
	ldr	x9, [x0, #8]
	mov	w11, #12
	madd	x10, x10, x11, x9
	add	x11, x21, #8
Lloh6:
	adrp	x12, _EST_TRANS_LAT@GOTPAGE
Lloh7:
	ldr	x12, [x12, _EST_TRANS_LAT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9, #8]
	str	w13, [x11, #8]
	ldr	d0, [x9], #12
	str	d0, [x11]
	ldr	w13, [x12]
	stp	w20, w13, [x11, #-8]
	add	x11, x11, #20
	add	w8, w8, #1
	cmp	x9, x10
	b.lo	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	mov	w0, #0
	str	w8, [x19]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EST_MAX_SETTINGS,4,2           ; @EST_MAX_SETTINGS
	.comm	_E2BIG,4,2                      ; @E2BIG
	.comm	_EST_TRANS_LAT,4,2              ; @EST_TRANS_LAT
	.no_dead_strip	_est_settings
.subsections_via_symbols
