	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pda_power_get_property
_pda_power_get_property:                ## @pda_power_get_property
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$128, %esi
	jne	LBB0_3
## %bb.1:
	movq	%rdx, %r14
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_POWER_SUPPLY_TYPE_MAINS@GOTPCREL(%rip), %rdx
	movq	_pdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	(%rdx), %ecx
	jne	LBB0_4
## %bb.2:
	movq	8(%rax), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movq	(%rax), %rcx
LBB0_5:
	xorl	%ebx, %ebx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_7:
	movl	%eax, (%r14)
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POWER_SUPPLY_TYPE_MAINS,4,2    ## @POWER_SUPPLY_TYPE_MAINS
	.comm	_pdata,8,3                      ## @pdata
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pda_power_get_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pda_power_get_property
_pda_power_get_property:                ; @pda_power_get_property
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #128
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x2
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _POWER_SUPPLY_TYPE_MAINS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _POWER_SUPPLY_TYPE_MAINS@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x8, _pdata@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pdata@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w10, w9
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
LBB0_3:
	blr	x8
	mov	x8, x0
LBB0_4:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_POWER_SUPPLY_TYPE_MAINS,4,2    ; @POWER_SUPPLY_TYPE_MAINS
	.comm	_pdata,8,3                      ; @pdata
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pda_power_get_property
.subsections_via_symbols
