	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwecc4_ooblayout_small_ecc
_hwecc4_ooblayout_small_ecc:            ## @hwecc4_ooblayout_small_ecc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$3, %esi
	jl	LBB0_2
## %bb.1:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$1, %esi
	je	LBB0_5
## %bb.3:
	testl	%esi, %esi
	jne	LBB0_6
## %bb.4:
	movabsq	$21474836480, %rax              ## imm = 0x500000000
	jmp	LBB0_7
LBB0_5:
	movabsq	$8589934598, %rax               ## imm = 0x200000006
	jmp	LBB0_7
LBB0_6:
	movabsq	$12884901901, %rax              ## imm = 0x30000000D
LBB0_7:
	movq	%rax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_hwecc4_ooblayout_small_ecc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hwecc4_ooblayout_small_ecc
lCPI0_0:
	.long	6                               ; 0x6
	.long	2                               ; 0x2
lCPI0_1:
	.long	0                               ; 0x0
	.long	5                               ; 0x5
lCPI0_2:
	.long	13                              ; 0xd
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hwecc4_ooblayout_small_ecc:            ; @hwecc4_ooblayout_small_ecc
	.cfi_startproc
; %bb.0:
	cmp	w1, #3
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	cmp	w1, #1
	b.eq	LBB0_5
; %bb.3:
	mov	w0, #0
	cbnz	w1, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, lCPI0_1@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [x2]
	ret
LBB0_5:
	mov	w0, #0
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x2]
	ret
LBB0_6:
Lloh7:
	adrp	x8, lCPI0_2@PAGE
Lloh8:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	str	d0, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_hwecc4_ooblayout_small_ecc
.subsections_via_symbols
