	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pata_platform_setup_port
_pata_platform_setup_port:              ## @pata_platform_setup_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	movq	_ATA_REG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	%cl, %edx
	movq	(%rdi), %rax
	addq	%rax, %rdx
	movq	%rdx, 80(%rdi)
	movq	_ATA_REG_ERR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 72(%rdi)
	movq	_ATA_REG_FEATURE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 64(%rdi)
	movq	_ATA_REG_NSECT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 56(%rdi)
	movq	_ATA_REG_LBAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 48(%rdi)
	movq	_ATA_REG_LBAM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 40(%rdi)
	movq	_ATA_REG_LBAH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 32(%rdi)
	movq	_ATA_REG_DEVICE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 24(%rdi)
	movq	_ATA_REG_STATUS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 16(%rdi)
	movq	_ATA_REG_CMD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addq	%rax, %rdx
	movq	%rdx, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_REG_DATA,4,2               ## @ATA_REG_DATA
	.comm	_ATA_REG_ERR,4,2                ## @ATA_REG_ERR
	.comm	_ATA_REG_FEATURE,4,2            ## @ATA_REG_FEATURE
	.comm	_ATA_REG_NSECT,4,2              ## @ATA_REG_NSECT
	.comm	_ATA_REG_LBAL,4,2               ## @ATA_REG_LBAL
	.comm	_ATA_REG_LBAM,4,2               ## @ATA_REG_LBAM
	.comm	_ATA_REG_LBAH,4,2               ## @ATA_REG_LBAH
	.comm	_ATA_REG_DEVICE,4,2             ## @ATA_REG_DEVICE
	.comm	_ATA_REG_STATUS,4,2             ## @ATA_REG_STATUS
	.comm	_ATA_REG_CMD,4,2                ## @ATA_REG_CMD
	.no_dead_strip	_pata_platform_setup_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pata_platform_setup_port
_pata_platform_setup_port:              ; @pata_platform_setup_port
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ATA_REG_DATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_REG_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w9, w9, w1
Lloh3:
	adrp	x10, _ATA_REG_ERR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ATA_REG_ERR@GOTPAGEOFF]
	add	x9, x8, x9
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w10, w1
	add	x10, x8, x10
	stp	x10, x9, [x0, #72]
Lloh6:
	adrp	x9, _ATA_REG_FEATURE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATA_REG_FEATURE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w9, w1
Lloh9:
	adrp	x10, _ATA_REG_NSECT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ATA_REG_NSECT@GOTPAGEOFF]
	add	x9, x8, x9
Lloh11:
	ldr	w10, [x10]
	lsl	w10, w10, w1
	add	x10, x8, x10
	stp	x10, x9, [x0, #56]
Lloh12:
	adrp	x9, _ATA_REG_LBAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATA_REG_LBAL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w9, w9, w1
Lloh15:
	adrp	x10, _ATA_REG_LBAM@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ATA_REG_LBAM@GOTPAGEOFF]
	add	x9, x8, x9
Lloh17:
	ldr	w10, [x10]
	lsl	w10, w10, w1
	add	x10, x8, x10
	stp	x10, x9, [x0, #40]
Lloh18:
	adrp	x9, _ATA_REG_LBAH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ATA_REG_LBAH@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	lsl	w9, w9, w1
Lloh21:
	adrp	x10, _ATA_REG_DEVICE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ATA_REG_DEVICE@GOTPAGEOFF]
	add	x9, x8, x9
Lloh23:
	ldr	w10, [x10]
	lsl	w10, w10, w1
	add	x10, x8, x10
	stp	x10, x9, [x0, #24]
Lloh24:
	adrp	x9, _ATA_REG_STATUS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ATA_REG_STATUS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	lsl	w9, w9, w1
Lloh27:
	adrp	x10, _ATA_REG_CMD@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ATA_REG_CMD@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	lsl	w10, w10, w1
	add	x9, x8, x9
	add	x8, x8, x10
	stp	x8, x9, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_REG_DATA,4,2               ; @ATA_REG_DATA
	.comm	_ATA_REG_ERR,4,2                ; @ATA_REG_ERR
	.comm	_ATA_REG_FEATURE,4,2            ; @ATA_REG_FEATURE
	.comm	_ATA_REG_NSECT,4,2              ; @ATA_REG_NSECT
	.comm	_ATA_REG_LBAL,4,2               ; @ATA_REG_LBAL
	.comm	_ATA_REG_LBAM,4,2               ; @ATA_REG_LBAM
	.comm	_ATA_REG_LBAH,4,2               ; @ATA_REG_LBAH
	.comm	_ATA_REG_DEVICE,4,2             ; @ATA_REG_DEVICE
	.comm	_ATA_REG_STATUS,4,2             ; @ATA_REG_STATUS
	.comm	_ATA_REG_CMD,4,2                ; @ATA_REG_CMD
	.no_dead_strip	_pata_platform_setup_port
.subsections_via_symbols
