	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_add_device                 ## -- Begin function pnp_add_device
	.p2align	4, 0x90
_pnp_add_device:                        ## @pnp_add_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	%r12
	pushq	%rbx
	subq	$144, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	cmpq	$0, 32(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movq	%rdi, %r15
	callq	___pnp_add_device
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movb	$0, -176(%rbp)
	movq	24(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %r12
	leaq	(%r12,%rbp), %rdi
	addq	$-176, %rdi
	movl	$128, %esi
	subl	%r12d, %esi
	movl	(%rbx), %ecx
	movq	%r14, %rdx
	callq	_scnprintf
	addq	%r12, %rax
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_6:
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	cmpq	$0, (%r15)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str.1(%rip), %rdx
	leaq	-176(%rbp), %r8
	callq	_dev_printk
	xorl	%eax, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %s"

	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"%s device, IDs%s (%s)\n"

L_.str.2:                               ## @.str.2
	.asciz	"active"

L_.str.3:                               ## @.str.3
	.asciz	"disabled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_add_device                 ; -- Begin function pnp_add_device
	.p2align	2
_pnp_add_device:                        ; @pnp_add_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	bl	___pnp_add_device
	cbnz	w0, LBB0_7
; %bb.3:
	strb	wzr, [sp, #8]
	ldr	x21, [x19, #24]
	cbz	x21, LBB0_6
; %bb.4:
	mov	x8, #0
	add	x22, sp, #8
	mov	w23, #128
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x24, w8
	add	x0, x22, x24
	sub	w1, w23, w8
	ldr	w3, [x21]
	mov	x2, x20
	bl	_scnprintf
	add	x8, x0, x24
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_5
LBB0_6:
Lloh8:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x19, #16
	ldp	x9, x8, [x19]
	ldr	w3, [x8]
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh13:
	adrp	x10, l_.str.3@PAGE
Lloh14:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x9, #0
	csel	x5, x10, x8, eq
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x4, sp, #8
	bl	_dev_printk
	mov	w0, #0
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %s"

	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"%s device, IDs%s (%s)\n"

l_.str.2:                               ; @.str.2
	.asciz	"active"

l_.str.3:                               ; @.str.3
	.asciz	"disabled"

.subsections_via_symbols
