	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_pnp_card_entries
_do_pnp_card_entries:                   ## @do_pnp_card_entries
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rdi, %r8
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rbx
	shrq	$3, %rbx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$8, %ecx
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	callq	_device_id_check
	decl	%ebx
	je	LBB0_17
## %bb.1:
	movl	%ebx, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_PNP_MAX_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r12d, %r12d
	movl	%edi, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
                                        ##         Child Loop BB0_10 Depth 4
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-60(%rbp), %edi                 ## 4-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	incl	%esi
	movl	%edi, %eax
	cmpl	%edi, %esi
	jae	LBB0_16
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
                                        ##         Child Loop BB0_10 Depth 4
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r12,8), %rcx
	movl	%esi, %edx
	movq	(%rcx,%rdx,8), %r15
	cmpb	$0, (%r15)
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	testq	%r12, %r12
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	%eax, %ebx
	xorl	%r14d, %r14d
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_10 Depth 4
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_8 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%r12,%r13,8), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=4
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=4
	incq	%r13
	cmpq	%r13, %rbx
	jne	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=3
	incq	%r14
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	cmpq	%r12, %r14
	jb	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_buf_printf
	movsbl	(%r15), %edi
	callq	_toupper
	movb	%al, -56(%rbp)
	movsbl	1(%r15), %edi
	callq	_toupper
	movb	%al, -55(%rbp)
	movsbl	2(%r15), %edi
	callq	_toupper
	movb	%al, -54(%rbp)
	movsbl	3(%r15), %edi
	callq	_toupper
	movb	%al, -53(%rbp)
	movsbl	4(%r15), %edi
	callq	_toupper
	movb	%al, -52(%rbp)
	movsbl	5(%r15), %edi
	callq	_toupper
	movb	%al, -51(%rbp)
	movsbl	6(%r15), %edi
	callq	_toupper
	movb	%al, -50(%rbp)
	movsbl	7(%r15), %edi
	callq	_toupper
	movb	%al, -49(%rbp)
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_buf_printf
	movq	_PNP_MAX_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_15
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pnp"

	.comm	_PNP_MAX_DEVICES,4,2            ## @PNP_MAX_DEVICES
L_.str.1:                               ## @.str.1
	.asciz	"MODULE_ALIAS(\"pnp:d%s*\");\n"

L_.str.2:                               ## @.str.2
	.asciz	"MODULE_ALIAS(\"acpi*:%s:*\");\n"

	.no_dead_strip	_do_pnp_card_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_pnp_card_entries
_do_pnp_card_entries:                   ; @do_pnp_card_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	lsr	x8, x1, #3
	sub	w21, w8, #1
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #8
	mov	x4, x20
	bl	_device_id_check
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	cbz	w21, LBB0_15
; %bb.1:
	mov	x25, #0
Lloh5:
	adrp	x8, _PNP_MAX_DEVICES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PNP_MAX_DEVICES@GOTPAGEOFF]
Lloh7:
	ldr	w28, [x8]
	mov	x8, x28
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x25, x9
	b.eq	LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_11 Depth 4
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	bl	_buf_printf
	ldrsb	w0, [x23]
	bl	_toupper
	strb	w0, [sp, #16]
	ldrsb	w0, [x23, #1]
	bl	_toupper
	strb	w0, [sp, #17]
	ldrsb	w0, [x23, #2]
	bl	_toupper
	strb	w0, [sp, #18]
	ldrsb	w0, [x23, #3]
	bl	_toupper
	strb	w0, [sp, #19]
	ldrsb	w0, [x23, #4]
	bl	_toupper
	strb	w0, [sp, #20]
	ldrsb	w0, [x23, #5]
	bl	_toupper
	strb	w0, [sp, #21]
	ldrsb	w0, [x23, #6]
	bl	_toupper
	strb	w0, [sp, #22]
	ldrsb	w0, [x23, #7]
	bl	_toupper
	strb	w0, [sp, #23]
	add	x2, sp, #16
	mov	x0, x19
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_buf_printf
Lloh12:
	adrp	x8, _PNP_MAX_DEVICES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PNP_MAX_DEVICES@GOTPAGEOFF]
Lloh14:
	ldr	w28, [x8]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w27, w27, #1
	mov	x8, x28
	cmp	w27, w28
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_11 Depth 4
	ldr	x9, [x20, x25, lsl #3]
	ldr	x23, [x9, w27, uxtw #3]
	ldrb	w9, [x23]
	cbz	w9, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cbz	x25, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x24, #0
	mov	w22, w8
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_11 Depth 4
	ldr	x21, [x20, x24, lsl #3]
	mov	x26, x22
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x1, [x21]
	ldrb	w8, [x1]
	cbz	w8, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=4
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=4
	add	x21, x21, #8
	subs	x26, x26, #1
	b.ne	LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=3
	add	x24, x24, #1
	cmp	x24, x25
	b.lo	LBB0_10
	b	LBB0_5
LBB0_15:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pnp"

	.comm	_PNP_MAX_DEVICES,4,2            ; @PNP_MAX_DEVICES
l_.str.1:                               ; @.str.1
	.asciz	"MODULE_ALIAS(\"pnp:d%s*\");\n"

l_.str.2:                               ; @.str.2
	.asciz	"MODULE_ALIAS(\"acpi*:%s:*\");\n"

	.no_dead_strip	_do_pnp_card_entries
.subsections_via_symbols
