	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxe1610_identify
_pxe1610_identify:                      ## @pxe1610_identify
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_PMBUS_VOUT_MODE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_pmbus_check_byte_register
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pmbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	xorl	%r15d, %r15d
	movl	$4, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	andl	%ebx, %eax
	cmpl	$2, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.5:
	movq	_vr12@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_2:
	movl	%ebx, %r15d
	jmp	LBB0_8
LBB0_6:
	movq	_vr13@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMBUS_VOUT_MODE,4,2            ## @PMBUS_VOUT_MODE
	.comm	_vr12,4,2                       ## @vr12
	.comm	_vr13,4,2                       ## @vr13
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_pxe1610_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxe1610_identify
_pxe1610_identify:                      ; @pxe1610_identify
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _PMBUS_VOUT_MODE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PMBUS_VOUT_MODE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #0
	bl	_pmbus_check_byte_register
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_pmbus_read_byte_data
	mov	x20, x0
	tbnz	w0, #31, LBB0_9
; %bb.2:
	mov	w0, #4
	mov	w1, #0
	bl	_GENMASK
	and	w8, w0, w20
	cmp	w8, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.4:
	mov	w20, #0
Lloh2:
	adrp	x8, _vr12@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vr12@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w20, #0
	b	LBB0_9
LBB0_6:
	mov	w20, #0
Lloh4:
	adrp	x8, _vr13@GOTPAGE
Lloh5:
	ldr	x8, [x8, _vr13@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PMBUS_VOUT_MODE,4,2            ; @PMBUS_VOUT_MODE
	.comm	_vr12,4,2                       ; @vr12
	.comm	_vr13,4,2                       ; @vr13
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_pxe1610_identify
.subsections_via_symbols
