	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getbounds
_getbounds:                             ## @getbounds
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_checkfor@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.1:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	callq	_xfopenat
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r14
	leaq	-30(%rbp), %rdi
	movl	$6, %esi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	leaq	-30(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %rbx
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.9:
	movq	(%r15), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
LBB0_11:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_12
LBB0_2:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_14
LBB0_5:
	movq	%r14, %rdi
	callq	_feof
	movq	_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
LBB0_12:
	xorl	%eax, %eax
	callq	_logmsg
	jmp	LBB0_13
LBB0_7:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_logmsg
LBB0_13:
	movq	%r14, %rdi
	callq	_fclose
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_checkfor,8,3                   ## @checkfor
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bounds"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_verbose,8,3                    ## @verbose
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"bounds file is empty, using 0"

L_.str.4:                               ## @.str.4
	.asciz	"bounds file: %s"

	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ERANGE,8,3                     ## @ERANGE
L_.str.5:                               ## @.str.5
	.asciz	"invalid value found in bounds, using 0"

L_str:                                  ## @str
	.asciz	"unable to open bounds file, using 0"

	.no_dead_strip	_getbounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getbounds
_getbounds:                             ; @getbounds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _checkfor@GOTPAGE
Lloh1:
	ldr	x8, [x8, _checkfor@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_1:
	mov	w20, #0
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_xfopenat
	cbz	x0, LBB0_9
; %bb.4:
	mov	x19, x0
	add	x0, sp, #10
	mov	w1, #6
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_11
; %bb.5:
Lloh10:
	adrp	x21, _errno@GOTPAGE
Lloh11:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
	add	x0, sp, #10
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	mov	x20, x0
	cbnz	w20, LBB0_8
; %bb.6:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _EINVAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _ERANGE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ERANGE@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_logmsg
LBB0_8:
	mov	x0, x19
	bl	_fclose
	b	LBB0_2
LBB0_9:
Lloh23:
	adrp	x8, _verbose@GOTPAGE
Lloh24:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.10:
Lloh26:
	adrp	x0, l_str@PAGE
Lloh27:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_1
LBB0_11:
	mov	x0, x19
	bl	_feof
Lloh28:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh30:
	ldr	w20, [x8]
	cbz	x0, LBB0_13
; %bb.12:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh33:
	adrp	x8, _errno@GOTPAGE
Lloh34:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh35:
	ldr	x0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh36:
	adrp	x1, l_.str.4@PAGE
Lloh37:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_14:
	mov	x0, x20
	bl	_logmsg
	mov	x0, x19
	bl	_fclose
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_checkfor,8,3                   ; @checkfor
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bounds"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_verbose,8,3                    ; @verbose
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"bounds file is empty, using 0"

l_.str.4:                               ; @.str.4
	.asciz	"bounds file: %s"

	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ERANGE,8,3                     ; @ERANGE
l_.str.5:                               ; @.str.5
	.asciz	"invalid value found in bounds, using 0"

l_str:                                  ; @str
	.asciz	"unable to open bounds file, using 0"

	.no_dead_strip	_getbounds
.subsections_via_symbols
