	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_slot
_init_slot:                             ## @init_slot
	.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
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SLOT_NAME_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	_pciehp_sysfs_enable_slot@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movq	_pciehp_sysfs_disable_slot@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_get_power_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_get_adapter_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_pciehp_reset_slot@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	%r14, %rdi
	callq	_MRL_SENS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_get_latch_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
LBB0_4:
	movq	%r14, %rdi
	callq	_ATTN_LED
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_set_attention_status@GOTPCREL(%rip), %rax
	movq	_pciehp_get_attention_status@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_6:
	movq	(%r14), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.7:
	movq	_pciehp_set_raw_indicator_status@GOTPCREL(%rip), %rax
	movq	_pciehp_get_raw_indicator_status@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r12)
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_9:
	leaq	8(%r14), %r13
	movq	%r12, 8(%r14)
	movl	(%rbx), %ebx
	movq	%r14, %rdi
	callq	_PSN
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_snprintf
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_pci_hp_initialize
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ctrl_err
	movq	%r12, %rdi
	callq	_kfree
	movl	%r15d, %ebx
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SLOT_NAME_SIZE,4,2             ## @SLOT_NAME_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pciehp_sysfs_enable_slot,4,2   ## @pciehp_sysfs_enable_slot
	.comm	_pciehp_sysfs_disable_slot,4,2  ## @pciehp_sysfs_disable_slot
	.comm	_get_power_status,4,2           ## @get_power_status
	.comm	_get_adapter_status,4,2         ## @get_adapter_status
	.comm	_pciehp_reset_slot,4,2          ## @pciehp_reset_slot
	.comm	_get_latch_status,4,2           ## @get_latch_status
	.comm	_pciehp_get_attention_status,4,2 ## @pciehp_get_attention_status
	.comm	_set_attention_status,4,2       ## @set_attention_status
	.comm	_pciehp_get_raw_indicator_status,4,2 ## @pciehp_get_raw_indicator_status
	.comm	_pciehp_set_raw_indicator_status,4,2 ## @pciehp_set_raw_indicator_status
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

L_.str.1:                               ## @.str.1
	.asciz	"pci_hp_initialize failed: error %d\n"

	.no_dead_strip	_init_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_slot
_init_slot:                             ; @init_slot
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _SLOT_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SLOT_NAME_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh10:
	adrp	x8, _pciehp_sysfs_enable_slot@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pciehp_sysfs_enable_slot@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0, #28]
Lloh13:
	adrp	x8, _pciehp_sysfs_disable_slot@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pciehp_sysfs_disable_slot@GOTPAGEOFF]
Lloh15:
	adrp	x9, _get_power_status@GOTPAGE
Lloh16:
	ldr	x9, [x9, _get_power_status@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #20]
Lloh19:
	adrp	x8, _get_adapter_status@GOTPAGE
Lloh20:
	ldr	x8, [x8, _get_adapter_status@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _pciehp_reset_slot@GOTPAGE
Lloh23:
	ldr	x9, [x9, _pciehp_reset_slot@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #12]
	mov	x0, x19
	bl	_MRL_SENS
	cbz	x0, LBB0_3
; %bb.2:
Lloh25:
	adrp	x8, _get_latch_status@GOTPAGE
Lloh26:
	ldr	x8, [x8, _get_latch_status@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x20, #8]
LBB0_3:
	mov	x0, x19
	bl	_ATTN_LED
	cbz	x0, LBB0_6
; %bb.4:
Lloh28:
	adrp	x8, _set_attention_status@GOTPAGE
Lloh29:
	ldr	x8, [x8, _set_attention_status@GOTPAGEOFF]
Lloh30:
	adrp	x9, _pciehp_get_attention_status@GOTPAGE
Lloh31:
	ldr	x9, [x9, _pciehp_get_attention_status@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_6:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.7:
Lloh35:
	adrp	x8, _pciehp_set_raw_indicator_status@GOTPAGE
Lloh36:
	ldr	x8, [x8, _pciehp_set_raw_indicator_status@GOTPAGEOFF]
Lloh37:
	adrp	x9, _pciehp_get_raw_indicator_status@GOTPAGE
Lloh38:
	ldr	x9, [x9, _pciehp_get_raw_indicator_status@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w8, w9, [x20]
LBB0_9:
	mov	x22, x19
	str	x20, [x22, #8]!
	ldr	w23, [x23]
	mov	x0, x19
	bl	_PSN
	mov	x3, x0
Lloh39:
	adrp	x2, l_.str@PAGE
Lloh40:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x23
	bl	_snprintf
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	x3, x21
	bl	_pci_hp_initialize
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.10:
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_ctrl_err
	mov	x0, x20
	bl	_kfree
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x21
	sub	sp, x29, #48
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_SLOT_NAME_SIZE,4,2             ; @SLOT_NAME_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pciehp_sysfs_enable_slot,4,2   ; @pciehp_sysfs_enable_slot
	.comm	_pciehp_sysfs_disable_slot,4,2  ; @pciehp_sysfs_disable_slot
	.comm	_get_power_status,4,2           ; @get_power_status
	.comm	_get_adapter_status,4,2         ; @get_adapter_status
	.comm	_pciehp_reset_slot,4,2          ; @pciehp_reset_slot
	.comm	_get_latch_status,4,2           ; @get_latch_status
	.comm	_pciehp_get_attention_status,4,2 ; @pciehp_get_attention_status
	.comm	_set_attention_status,4,2       ; @set_attention_status
	.comm	_pciehp_get_raw_indicator_status,4,2 ; @pciehp_get_raw_indicator_status
	.comm	_pciehp_set_raw_indicator_status,4,2 ; @pciehp_set_raw_indicator_status
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

l_.str.1:                               ; @.str.1
	.asciz	"pci_hp_initialize failed: error %d\n"

	.no_dead_strip	_init_slot
.subsections_via_symbols
