	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_hp_add                     ## -- Begin function pci_hp_add
	.p2align	4, 0x90
_pci_hp_add:                            ## @pci_hp_add
	.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	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_fs_add_slot
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_KOBJ_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kobject_uevent
	movq	_pci_hp_mutex@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_pci_hotplug_slot_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	callq	_hotplug_slot_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_dbg
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KOBJ_ADD,4,2                   ## @KOBJ_ADD
	.comm	_pci_hp_mutex,4,2               ## @pci_hp_mutex
	.comm	_pci_hotplug_slot_list,4,2      ## @pci_hotplug_slot_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Added slot %s to the list\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_hp_add                     ; -- Begin function pci_hp_add
	.p2align	2
_pci_hp_add:                            ; @pci_hp_add
	.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	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	_fs_add_slot
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _KOBJ_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KOBJ_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kobject_uevent
Lloh3:
	adrp	x21, _pci_hp_mutex@GOTPAGE
Lloh4:
	ldr	x21, [x21, _pci_hp_mutex@GOTPAGEOFF]
	mov	x0, x21
	bl	_mutex_lock
Lloh5:
	adrp	x1, _pci_hotplug_slot_list@GOTPAGE
Lloh6:
	ldr	x1, [x1, _pci_hotplug_slot_list@GOTPAGEOFF]
	mov	x0, x20
	bl	_list_add
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x20
	bl	_hotplug_slot_name
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
LBB0_2:
	mov	x0, x19
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KOBJ_ADD,4,2                   ; @KOBJ_ADD
	.comm	_pci_hp_mutex,4,2               ; @pci_hp_mutex
	.comm	_pci_hotplug_slot_list,4,2      ; @pci_hotplug_slot_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Added slot %s to the list\n"

.subsections_via_symbols
