	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkg_get_myabi
_pkg_get_myabi:                         ## @pkg_get_myabi
	.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
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-304(%rbp), %rdi
	callq	_uname
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	$255, -296(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-288(%rbp), %rsi
	leaq	-296(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	je	LBB0_3
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-296(%rbp), %rax
	movb	$0, -288(%rbp,%rax)
	movq	-304(%rbp), %rcx
	movq	___FreeBSD_version@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$351843721, %rax, %r8           ## imm = 0x14F8B589
	movq	%r8, %rax
	shrq	$63, %rax
	sarq	$45, %r8
	addl	%eax, %r8d
	leaq	L_.str.1(%rip), %rdx
	leaq	-288(%rbp), %r9
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_snprintf
	jmp	LBB0_4
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.machine_arch"

L_.str.1:                               ## @.str.1
	.asciz	"%s:%d:%s"

	.comm	___FreeBSD_version,4,2          ## @__FreeBSD_version
	.no_dead_strip	_pkg_get_myabi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkg_get_myabi
_pkg_get_myabi:                         ; @pkg_get_myabi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #16
	bl	_uname
	cbnz	w0, LBB0_2
; %bb.1:
	mov	w8, #255
	str	x8, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x21, sp, #25
	add	x1, sp, #25
	add	x2, sp, #8
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cbz	w0, LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_5:
	ldp	x8, x3, [sp, #8]
	strb	wzr, [x21, x8]
Lloh11:
	adrp	x8, ___FreeBSD_version@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___FreeBSD_version@GOTPAGEOFF]
Lloh13:
	ldrsw	x8, [x8]
	mov	w9, #46473
	movk	w9, #5368, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #45
	add	w4, w8, w9
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x5, sp, #25
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	mov	w0, #0
	b	LBB0_3
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.machine_arch"

l_.str.1:                               ; @.str.1
	.asciz	"%s:%d:%s"

	.comm	___FreeBSD_version,4,2          ; @__FreeBSD_version
	.no_dead_strip	_pkg_get_myabi
.subsections_via_symbols
