	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_err_string
_ata_err_string:                        ## @ata_err_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AC_ERR_HOST_BUS@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_2:
	movq	_AC_ERR_ATA_BUS@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rax
	popq	%rbp
	retq
LBB0_4:
	movq	_AC_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rax
	popq	%rbp
	retq
LBB0_6:
	movq	_AC_ERR_HSM@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rax
	popq	%rbp
	retq
LBB0_8:
	movq	_AC_ERR_SYSTEM@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rax
	popq	%rbp
	retq
LBB0_10:
	movq	_AC_ERR_MEDIA@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rax
	popq	%rbp
	retq
LBB0_12:
	movq	_AC_ERR_INVALID@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rax
	popq	%rbp
	retq
LBB0_14:
	movq	_AC_ERR_DEV@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	leaq	L_.str.8(%rip), %rcx
	leaq	L_.str.7(%rip), %rax
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_ERR_HOST_BUS,4,2            ## @AC_ERR_HOST_BUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"host bus error"

	.comm	_AC_ERR_ATA_BUS,4,2             ## @AC_ERR_ATA_BUS
L_.str.1:                               ## @.str.1
	.asciz	"ATA bus error"

	.comm	_AC_ERR_TIMEOUT,4,2             ## @AC_ERR_TIMEOUT
L_.str.2:                               ## @.str.2
	.asciz	"timeout"

	.comm	_AC_ERR_HSM,4,2                 ## @AC_ERR_HSM
L_.str.3:                               ## @.str.3
	.asciz	"HSM violation"

	.comm	_AC_ERR_SYSTEM,4,2              ## @AC_ERR_SYSTEM
L_.str.4:                               ## @.str.4
	.asciz	"internal error"

	.comm	_AC_ERR_MEDIA,4,2               ## @AC_ERR_MEDIA
L_.str.5:                               ## @.str.5
	.asciz	"media error"

	.comm	_AC_ERR_INVALID,4,2             ## @AC_ERR_INVALID
L_.str.6:                               ## @.str.6
	.asciz	"invalid argument"

	.comm	_AC_ERR_DEV,4,2                 ## @AC_ERR_DEV
L_.str.7:                               ## @.str.7
	.asciz	"device error"

L_.str.8:                               ## @.str.8
	.asciz	"unknown error"

	.no_dead_strip	_ata_err_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_err_string
_ata_err_string:                        ; @ata_err_string
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AC_ERR_HOST_BUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_ERR_HOST_BUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ret
LBB0_2:
Lloh5:
	adrp	x8, _AC_ERR_ATA_BUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AC_ERR_ATA_BUS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	ret
LBB0_4:
Lloh10:
	adrp	x8, _AC_ERR_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AC_ERR_TIMEOUT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	ret
LBB0_6:
Lloh15:
	adrp	x8, _AC_ERR_HSM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AC_ERR_HSM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	ret
LBB0_8:
Lloh20:
	adrp	x8, _AC_ERR_SYSTEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AC_ERR_SYSTEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.9:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	ret
LBB0_10:
Lloh25:
	adrp	x8, _AC_ERR_MEDIA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AC_ERR_MEDIA@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.11:
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	ret
LBB0_12:
Lloh30:
	adrp	x8, _AC_ERR_INVALID@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AC_ERR_INVALID@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.13:
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	ret
LBB0_14:
Lloh35:
	adrp	x8, _AC_ERR_DEV@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AC_ERR_DEV@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, l_.str.7@PAGE
Lloh39:
	add	x9, x9, l_.str.7@PAGEOFF
Lloh40:
	adrp	x10, l_.str.8@PAGE
Lloh41:
	add	x10, x10, l_.str.8@PAGEOFF
	tst	w8, w0
	csel	x0, x10, x9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_ERR_HOST_BUS,4,2            ; @AC_ERR_HOST_BUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"host bus error"

	.comm	_AC_ERR_ATA_BUS,4,2             ; @AC_ERR_ATA_BUS
l_.str.1:                               ; @.str.1
	.asciz	"ATA bus error"

	.comm	_AC_ERR_TIMEOUT,4,2             ; @AC_ERR_TIMEOUT
l_.str.2:                               ; @.str.2
	.asciz	"timeout"

	.comm	_AC_ERR_HSM,4,2                 ; @AC_ERR_HSM
l_.str.3:                               ; @.str.3
	.asciz	"HSM violation"

	.comm	_AC_ERR_SYSTEM,4,2              ; @AC_ERR_SYSTEM
l_.str.4:                               ; @.str.4
	.asciz	"internal error"

	.comm	_AC_ERR_MEDIA,4,2               ; @AC_ERR_MEDIA
l_.str.5:                               ; @.str.5
	.asciz	"media error"

	.comm	_AC_ERR_INVALID,4,2             ; @AC_ERR_INVALID
l_.str.6:                               ; @.str.6
	.asciz	"invalid argument"

	.comm	_AC_ERR_DEV,4,2                 ; @AC_ERR_DEV
l_.str.7:                               ; @.str.7
	.asciz	"device error"

l_.str.8:                               ; @.str.8
	.asciz	"unknown error"

	.no_dead_strip	_ata_err_string
.subsections_via_symbols
