	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8090p_get_dc_power
_dib8090p_get_dc_power:                 ## @dib8090p_get_dc_power
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	cmpl	$1, %esi
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	testl	%esi, %esi
	jne	LBB0_5
## %bb.3:
	movl	$404, %esi                      ## imm = 0x194
	jmp	LBB0_4
LBB0_1:
	movl	$403, %esi                      ## imm = 0x193
LBB0_4:
	callq	_dib8000_read_word
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	leal	-1024(%rax), %ecx
	testl	$512, %eax                      ## imm = 0x200
	cmovel	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dib8090p_get_dc_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8090p_get_dc_power
_dib8090p_get_dc_power:                 ; @dib8090p_get_dc_power
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	cmp	w1, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w1, LBB0_5
; %bb.2:
	mov	w1, #404
	b	LBB0_4
LBB0_3:
	mov	w1, #403
LBB0_4:
	bl	_dib8000_read_word
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	sub	w8, w0, #1024
	tst	w0, #0x200
	csel	w0, w0, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dib8090p_get_dc_power
.subsections_via_symbols
