	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_thread_attach
_fbsd_thread_attach:                    ## @fbsd_thread_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	_fbsd_thread_core@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_child_ops@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movq	_auto_solib_add@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_SOLIB_ADD
	movq	_fbsd_thread_present@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_fbsd_thread_active@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_fbsd_thread_ops@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_push_target                    ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fbsd_thread_core,8,3           ## @fbsd_thread_core
	.comm	_child_ops,8,3                  ## @child_ops
	.comm	_auto_solib_add,4,2             ## @auto_solib_add
	.comm	_fbsd_thread_present,8,3        ## @fbsd_thread_present
	.comm	_fbsd_thread_active,4,2         ## @fbsd_thread_active
	.comm	_fbsd_thread_ops,4,2            ## @fbsd_thread_ops
	.no_dead_strip	_fbsd_thread_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_thread_attach
_fbsd_thread_attach:                    ; @fbsd_thread_attach
	.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, x1
Lloh0:
	adrp	x8, _fbsd_thread_core@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fbsd_thread_core@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _child_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _child_ops@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	blr	x8
Lloh6:
	adrp	x8, _auto_solib_add@GOTPAGE
Lloh7:
	ldr	x8, [x8, _auto_solib_add@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, x19
	mov	x2, #0
	bl	_SOLIB_ADD
Lloh9:
	adrp	x8, _fbsd_thread_present@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fbsd_thread_present@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _fbsd_thread_active@GOTPAGE
Lloh13:
	ldr	x9, [x9, _fbsd_thread_active@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh15:
	adrp	x0, _fbsd_thread_ops@GOTPAGE
Lloh16:
	ldr	x0, [x0, _fbsd_thread_ops@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_push_target
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_fbsd_thread_core,8,3           ; @fbsd_thread_core
	.comm	_child_ops,8,3                  ; @child_ops
	.comm	_auto_solib_add,4,2             ; @auto_solib_add
	.comm	_fbsd_thread_present,8,3        ; @fbsd_thread_present
	.comm	_fbsd_thread_active,4,2         ; @fbsd_thread_active
	.comm	_fbsd_thread_ops,4,2            ; @fbsd_thread_ops
	.no_dead_strip	_fbsd_thread_attach
.subsections_via_symbols
