	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib0090_set_EFUSE
_dib0090_set_EFUSE:                     ## @dib0090_set_EFUSE
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$38, %esi
	callq	_dib0090_read_reg
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$40, %esi
	callq	_dib0090_read_reg
	movq	(%r14), %rcx
	movq	_P1D_E_F@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	movl	$34, %esi
	movl	$16, %edx
	callq	_dib0090_write_reg
	movq	%r14, %rdi
	movl	$34, %esi
	callq	_dib0090_read_reg
                                        ## kill: def $eax killed $eax def $rax
	shrl	$6, %eax
	andl	$1023, %eax                     ## imm = 0x3FF
	leal	(%rax,%rax), %ecx
	leal	(%rcx,%rcx,4), %ecx
	shrl	$6, %ecx
	movl	$165, %ebx
	subl	%ecx, %ebx
	orl	$14464, %ebx                    ## imm = 0x3880
	cmpl	$1023, %eax                     ## imm = 0x3FF
	movl	$14497, %ecx                    ## imm = 0x38A1
	cmovel	%ecx, %ebx
	cmpl	$670, %eax                      ## imm = 0x29E
	cmovbl	%ecx, %ebx
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_P1G@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	je	LBB0_3
LBB0_4:
	andl	%eax, %ebx
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	jne	LBB0_6
## %bb.5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%ebx, %ecx
	andl	$63, %ecx
	movl	%ebx, %eax
	shrl	$12, %eax
	andl	$15, %eax
	shrl	$6, %ebx
	andl	$63, %ebx
	movq	_CAP_VALUE_MAX@GOTPCREL(%rip), %rdx
	movq	_CAP_VALUE_MIN@GOTPCREL(%rip), %rsi
	leal	14(%rcx), %r12d
	cmpl	(%rsi), %ecx
	movl	$32, %esi
	cmovlel	%esi, %r12d
	cmpl	(%rdx), %ecx
	cmovgel	%esi, %r12d
	movq	_HR_MAX@GOTPCREL(%rip), %rcx
	movq	_HR_MIN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ebx
	movl	$34, %r15d
	cmovgl	%ebx, %r15d
	cmpl	(%rcx), %ebx
	movl	$34, %ecx
	cmovgel	%ecx, %r15d
	movq	_POLY_MIN@GOTPCREL(%rip), %rcx
	movl	%r15d, %edx
	shll	$10, %edx
	movl	%eax, %ebx
	shll	$11, %ebx
	cmpl	(%rcx), %eax
	movq	_POLY_MAX@GOTPCREL(%rip), %rcx
	movl	$6144, %esi                     ## imm = 0x1800
	cmovlel	%esi, %ebx
	cmpl	(%rcx), %eax
	cmovgel	%esi, %ebx
	movq	%r14, %rdi
	movl	$19, %esi
	callq	_dib0090_write_reg
	shll	$4, %r15d
	andl	$-64, %r15d
	orl	%r12d, %r15d
	orl	%ebx, %r15d
	movq	%r14, %rdi
	movl	$2, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dib0090_write_reg              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_P1D_E_F,8,3                    ## @P1D_E_F
	.comm	_P1G,8,3                        ## @P1G
	.comm	_CAP_VALUE_MAX,4,2              ## @CAP_VALUE_MAX
	.comm	_CAP_VALUE_MIN,4,2              ## @CAP_VALUE_MIN
	.comm	_HR_MAX,4,2                     ## @HR_MAX
	.comm	_HR_MIN,4,2                     ## @HR_MIN
	.comm	_POLY_MAX,4,2                   ## @POLY_MAX
	.comm	_POLY_MIN,4,2                   ## @POLY_MIN
	.no_dead_strip	_dib0090_set_EFUSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib0090_set_EFUSE
_dib0090_set_EFUSE:                     ; @dib0090_set_EFUSE
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w1, #38
	bl	_dib0090_read_reg
	mov	x20, x0
	mov	x0, x19
	mov	w1, #40
	bl	_dib0090_read_reg
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _P1D_E_F@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P1D_E_F@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _P1G@GOTPAGE
Lloh4:
	ldr	x9, [x9, _P1G@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #65535
	ccmp	w20, w8, #4, ne
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #34
	mov	w2, #16
	bl	_dib0090_write_reg
	mov	x0, x19
	mov	w1, #34
	bl	_dib0090_read_reg
	ubfx	w8, w0, #6, #10
	add	w9, w8, w8, lsl #2
	lsl	w9, w9, #1
	mov	w10, #165
	sub	w9, w10, w9, lsr #6
	cmp	w8, #1023
	mov	w10, #670
	ccmp	w8, w10, #0, ne
	mov	w8, #14464
	orr	w8, w9, w8
	mov	w9, #14497
	csel	w20, w9, w8, lo
	mov	x0, x20
LBB0_3:
	and	w8, w0, w20
	mov	w9, #65535
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	and	w9, w8, #0x3f
	ubfx	w20, w8, #12, #4
	ubfx	w8, w8, #6, #6
Lloh6:
	adrp	x10, _CAP_VALUE_MAX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CAP_VALUE_MAX@GOTPAGEOFF]
Lloh8:
	adrp	x11, _CAP_VALUE_MIN@GOTPAGE
Lloh9:
	ldr	x11, [x11, _CAP_VALUE_MIN@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	ldr	w11, [x11]
	cmp	w9, w11
	ccmp	w9, w10, #0, gt
	add	w9, w9, #14
	mov	w10, #32
	csel	w21, w9, w10, lt
Lloh12:
	adrp	x9, _HR_MAX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HR_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _HR_MIN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _HR_MIN@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w8, w10
	ccmp	w8, w9, #0, gt
	mov	w9, #34
Lloh18:
	adrp	x10, _POLY_MAX@GOTPAGE
Lloh19:
	ldr	x10, [x10, _POLY_MAX@GOTPAGEOFF]
	csel	w22, w8, w9, lt
Lloh20:
	ldr	w23, [x10]
Lloh21:
	adrp	x8, _POLY_MIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _POLY_MIN@GOTPAGEOFF]
Lloh23:
	ldr	w24, [x8]
	lsl	w2, w22, #10
	mov	x0, x19
	mov	w1, #19
	bl	_dib0090_write_reg
	cmp	w20, w24
	ccmp	w20, w23, #0, gt
	lsl	w8, w20, #11
	mov	w9, #6144
	csel	w8, w8, w9, lt
	lsl	w9, w22, #4
	and	w9, w9, #0x3c0
	orr	w9, w9, w21
	orr	w2, w9, w8
	mov	x0, x19
	mov	w1, #2
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dib0090_write_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_P1D_E_F,8,3                    ; @P1D_E_F
	.comm	_P1G,8,3                        ; @P1G
	.comm	_CAP_VALUE_MAX,4,2              ; @CAP_VALUE_MAX
	.comm	_CAP_VALUE_MIN,4,2              ; @CAP_VALUE_MIN
	.comm	_HR_MAX,4,2                     ; @HR_MAX
	.comm	_HR_MIN,4,2                     ; @HR_MIN
	.comm	_POLY_MAX,4,2                   ; @POLY_MAX
	.comm	_POLY_MIN,4,2                   ; @POLY_MIN
	.no_dead_strip	_dib0090_set_EFUSE
.subsections_via_symbols
