	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __pnp_bios_get_dev_node
___pnp_bios_get_dev_node:               ## @__pnp_bios_get_dev_node
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_pnp_bios_present
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testb	%bl, %bl
	jne	LBB0_4
## %bb.3:
	movq	_pnpbios_dont_use_current_config@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
LBB0_1:
	movq	_PNP_FUNCTION_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	(%r15), %eax
	movl	%eax, -28(%rbp)
	movq	_PNP_GET_SYS_DEV_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PNP_TS1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PNP_TS2@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	cmpb	$1, %bl
	movl	$2, %r9d
	sbbl	$0, %r9d
	movq	_PNP_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-28(%rbp), %rbx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	pushq	$65536                          ## imm = 0x10000
	pushq	%r14
	pushq	$4
	pushq	%rbx
	pushq	$0
	pushq	%rax
	callq	_call_pnp_bios
	addq	$48, %rsp
	movl	-28(%rbp), %ecx
	movl	%ecx, (%r15)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNP_FUNCTION_NOT_SUPPORTED,4,2 ## @PNP_FUNCTION_NOT_SUPPORTED
	.comm	_pnpbios_dont_use_current_config,8,3 ## @pnpbios_dont_use_current_config
	.comm	_PNP_GET_SYS_DEV_NODE,4,2       ## @PNP_GET_SYS_DEV_NODE
	.comm	_PNP_TS1,4,2                    ## @PNP_TS1
	.comm	_PNP_TS2,4,2                    ## @PNP_TS2
	.comm	_PNP_DS,4,2                     ## @PNP_DS
	.no_dead_strip	___pnp_bios_get_dev_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __pnp_bios_get_dev_node
___pnp_bios_get_dev_node:               ; @__pnp_bios_get_dev_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_pnp_bios_present
	cbz	w0, LBB0_3
; %bb.1:
	cbnz	w21, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _pnpbios_dont_use_current_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pnpbios_dont_use_current_config@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _PNP_FUNCTION_NOT_SUPPORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PNP_FUNCTION_NOT_SUPPORTED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19]
	str	w8, [sp, #28]
Lloh6:
	adrp	x8, _PNP_GET_SYS_DEV_NODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PNP_GET_SYS_DEV_NODE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _PNP_TS1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PNP_TS1@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _PNP_TS2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PNP_TS2@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	cmp	w21, #0
	mov	w8, #1
	cinc	w5, w8, ne
Lloh15:
	adrp	x8, _PNP_DS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PNP_DS@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	mov	w8, #65536
	str	w8, [sp, #24]
	str	x20, [sp, #16]
	mov	w8, #4
	str	w8, [sp, #8]
	add	x8, sp, #28
	str	x8, [sp]
	mov	w1, #0
	mov	w3, #0
	mov	w7, #0
	bl	_call_pnp_bios
	ldr	w8, [sp, #28]
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PNP_FUNCTION_NOT_SUPPORTED,4,2 ; @PNP_FUNCTION_NOT_SUPPORTED
	.comm	_pnpbios_dont_use_current_config,8,3 ; @pnpbios_dont_use_current_config
	.comm	_PNP_GET_SYS_DEV_NODE,4,2       ; @PNP_GET_SYS_DEV_NODE
	.comm	_PNP_TS1,4,2                    ; @PNP_TS1
	.comm	_PNP_TS2,4,2                    ; @PNP_TS2
	.comm	_PNP_DS,4,2                     ; @PNP_DS
	.no_dead_strip	___pnp_bios_get_dev_node
.subsections_via_symbols
