	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_request_card_device        ## -- Begin function pnp_request_card_device
	.p2align	4, 0x90
_pnp_request_card_device:               ## @pnp_request_card_device
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	8(%rdi), %r13
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:
	cmpq	%r13, 32(%rdx)
	jne	LBB0_14
## %bb.5:
	addq	$24, %rdx
	jmp	LBB0_6
LBB0_3:
	movq	%r13, %rdx
LBB0_6:
	movq	(%rdx), %rbx
	cmpq	%r13, %rbx
	je	LBB0_14
## %bb.7:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rbx
	cmpq	%r13, %rbx
	je	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_card_to_pnp_dev
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r12
	movl	16(%rax), %edi
	movq	%r15, %rsi
	callq	_compare_pnp_id
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%r14, (%r12)
	movq	%r12, %rbx
	addq	$8, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r12)
	movq	_pnp_bus_type@GOTPCREL(%rip), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_device_bind_driver
	testq	%rax, %rax
	je	LBB0_15
LBB0_13:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pnp_bus_type,8,3               ## @pnp_bus_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_request_card_device        ; -- Begin function pnp_request_card_device
	.p2align	2
_pnp_request_card_device:               ; @pnp_request_card_device
	.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	x21, #0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x19, x0
	ldp	x23, x24, [x0]
	cbz	x2, LBB0_6
; %bb.3:
	ldr	x8, [x2, #32]
	cmp	x8, x24
	b.eq	LBB0_7
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	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_6:
	mov	x8, x24
	b	LBB0_8
LBB0_7:
	add	x8, x2, #24
LBB0_8:
	ldr	x22, [x8]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x22, [x22]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	x22, x24
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_card_to_pnp_dev
	ldr	x8, [x0]
	cbnz	x8, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, x0
	ldr	w0, [x0, #16]
	mov	x1, x20
	bl	_compare_pnp_id
	cbz	x0, LBB0_9
; %bb.13:
	str	x19, [x21]
	mov	x19, x21
	str	x23, [x19, #8]!
Lloh0:
	adrp	x8, _pnp_bus_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pnp_bus_type@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_device_bind_driver
	cbz	x0, LBB0_5
LBB0_15:
	stp	xzr, xzr, [x21]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pnp_bus_type,8,3               ; @pnp_bus_type
.subsections_via_symbols
