	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_add_card_device            ## -- Begin function pnp_add_card_device
	.p2align	4, 0x90
_pnp_add_card_device:                   ## @pnp_add_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %rax
	leaq	32(%rsi), %rdi
	movq	%rax, 32(%rsi)
	movq	$0, 40(%rsi)
	movq	24(%rsi), %rax
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	movl	16(%rsi), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_dev_set_name
	movq	_pnp_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	%r15, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x:%02x.%02x"

	.comm	_pnp_lock,4,2                   ## @pnp_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_add_card_device            ; -- Begin function pnp_add_card_device
	.p2align	2
_pnp_add_card_device:                   ; @pnp_add_card_device
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	add	x8, x0, #8
	mov	x0, x1
	str	x8, [x0, #32]!
	str	xzr, [x1, #40]
	ldr	x8, [x1, #24]
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
	ldr	w4, [x1, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_set_name
Lloh2:
	adrp	x21, _pnp_lock@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pnp_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
	str	x20, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_list_add_tail
	mov	x0, x21
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x:%02x.%02x"

	.comm	_pnp_lock,4,2                   ; @pnp_lock
.subsections_via_symbols
