	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freebsd32_sysarch              ## -- Begin function freebsd32_sysarch
	.p2align	4, 0x90
_freebsd32_sysarch:                     ## @freebsd32_sysarch
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_I386_SET_LDT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_I386_GET_LDT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, -32(%rbp)
	movq	8(%rbx), %rax
	movq	%rax, -24(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sysarch
	jmp	LBB0_5
LBB0_2:
	movq	8(%rbx), %rdi
	leaq	-56(%rbp), %rsi
	movl	$24, %edx
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	(%rbx), %rax
	movq	%rax, -32(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -24(%rbp)
	movl	-40(%rbp), %eax
	movl	%eax, -64(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	-56(%rbp), %eax
	movl	%eax, -80(%rbp)
	movq	_UIO_SYSSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_sysarch_ldt
LBB0_5:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I386_SET_LDT,8,3               ## @I386_SET_LDT
	.comm	_I386_GET_LDT,8,3               ## @I386_GET_LDT
	.comm	_UIO_SYSSPACE,4,2               ## @UIO_SYSSPACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freebsd32_sysarch              ; -- Begin function freebsd32_sysarch
	.p2align	2
_freebsd32_sysarch:                     ; @freebsd32_sysarch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _I386_SET_LDT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I386_SET_LDT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _I386_GET_LDT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _I386_GET_LDT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x20, #8]
	mov	x1, sp
	mov	w2, #24
	bl	_copyin
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	add	x9, sp, #24
	stp	x8, x9, [x29, #-32]
	ldr	w8, [sp, #16]
	str	w8, [sp, #40]
	ldr	x8, [sp, #8]
	str	x8, [sp, #32]
	ldr	w8, [sp]
	str	w8, [sp, #24]
Lloh6:
	adrp	x8, _UIO_SYSSPACE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UIO_SYSSPACE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	sub	x1, x29, #32
	mov	x0, x19
	bl	_sysarch_ldt
	b	LBB0_4
LBB0_3:
	ldr	x9, [x20, #8]
	stp	x8, x9, [x29, #-32]
	sub	x1, x29, #32
	mov	x0, x19
	bl	_sysarch
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I386_SET_LDT,8,3               ; @I386_SET_LDT
	.comm	_I386_GET_LDT,8,3               ; @I386_GET_LDT
	.comm	_UIO_SYSSPACE,4,2               ; @UIO_SYSSPACE
.subsections_via_symbols
