	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sil24_port_start
_sil24_port_start:                      ## @sil24_port_start
	.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	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	_SIL24_MAX_CMDS@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	shlq	$2, %r12
	movl	(%r15), %ecx
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_dmam_alloc_coherent
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_memset
	movq	%rbx, 8(%r13)
	movl	-44(%rbp), %eax
	movl	%eax, (%r13)
	movq	%r13, (%r14)
	movq	_SIL24_HOST_BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_ata_port_pbar_desc
	movq	_SIL24_PORT_BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_sil24_port_offset
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_ata_port_pbar_desc
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIL24_MAX_CMDS,4,2             ## @SIL24_MAX_CMDS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SIL24_HOST_BAR,4,2             ## @SIL24_HOST_BAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"host"

	.comm	_SIL24_PORT_BAR,4,2             ## @SIL24_PORT_BAR
L_.str.1:                               ## @.str.1
	.asciz	"port"

	.no_dead_strip	_sil24_port_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sil24_port_start
_sil24_port_start:                      ; @sil24_port_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _SIL24_MAX_CMDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIL24_MAX_CMDS@GOTPAGEOFF]
Lloh2:
	ldrsw	x22, [x8]
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	lsl	x22, x22, #2
	ldr	w3, [x23]
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x22
	bl	_dmam_alloc_coherent
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	str	x21, [x20, #8]
	ldr	w8, [sp, #12]
	str	w8, [x20]
	str	x20, [x19]
Lloh5:
	adrp	x8, _SIL24_HOST_BAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIL24_HOST_BAR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_ata_port_pbar_desc
Lloh10:
	adrp	x8, _SIL24_PORT_BAR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIL24_PORT_BAR@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_sil24_port_offset
	mov	x2, x0
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_ata_port_pbar_desc
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SIL24_MAX_CMDS,4,2             ; @SIL24_MAX_CMDS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SIL24_HOST_BAR,4,2             ; @SIL24_HOST_BAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"host"

	.comm	_SIL24_PORT_BAR,4,2             ; @SIL24_PORT_BAR
l_.str.1:                               ; @.str.1
	.asciz	"port"

	.no_dead_strip	_sil24_port_start
.subsections_via_symbols
