	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_gamma
_check_gamma:                           ## @check_gamma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	4(%rbx), %edi
	movl	8(%rbx), %esi
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movl	8(%rbx), %edi
	movl	12(%rbx), %esi
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	12(%rbx), %edi
	movl	16(%rbx), %esi
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	16(%rbx), %edi
	movl	20(%rbx), %esi
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	20(%rbx), %edi
	movl	$16777215, %esi                 ## imm = 0xFFFFFF
	callq	_check_gamma_bounds
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	20(%rbx), %edi
	callq	_check_gamma5_errata
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	subl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_check_gamma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_gamma
_check_gamma:                           ; @check_gamma
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w1, [x0]
	mov	w0, #0
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.1:
	ldp	w0, w1, [x19]
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.2:
	ldp	w0, w1, [x19, #4]
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.3:
	ldp	w0, w1, [x19, #8]
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.4:
	ldp	w0, w1, [x19, #12]
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.5:
	ldp	w0, w1, [x19, #16]
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.6:
	ldr	w0, [x19, #20]
	mov	w1, #16777215
	bl	_check_gamma_bounds
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w0, [x19, #20]
	bl	_check_gamma5_errata
	cbz	w0, LBB0_9
; %bb.8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_check_gamma
.subsections_via_symbols
