	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdns_thread_create             ## -- Begin function gdns_thread_create
	.p2align	4, 0x90
_gdns_thread_create:                    ## @gdns_thread_create
	.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
	movq	_active_gdns@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_gdns_thread@GOTPCREL(%rip), %rbx
	movq	_dns_worker@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pthread_create
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_FATAL
LBB0_2:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pthread_detach                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_active_gdns,4,2                ## @active_gdns
	.comm	_gdns_thread,4,2                ## @gdns_thread
	.comm	_dns_worker,4,2                 ## @dns_worker
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Return code from pthread_create(): %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdns_thread_create             ; -- Begin function gdns_thread_create
	.p2align	2
_gdns_thread_create:                    ; @gdns_thread_create
	.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
Lloh0:
	adrp	x8, _active_gdns@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_gdns@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
Lloh3:
	adrp	x19, _gdns_thread@GOTPAGE
Lloh4:
	ldr	x19, [x19, _gdns_thread@GOTPAGEOFF]
Lloh5:
	adrp	x2, _dns_worker@GOTPAGE
Lloh6:
	ldr	x2, [x2, _dns_worker@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	mov	x3, #0
	bl	_pthread_create
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FATAL
LBB0_2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pthread_detach
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_active_gdns,4,2                ; @active_gdns
	.comm	_gdns_thread,4,2                ; @gdns_thread
	.comm	_dns_worker,4,2                 ; @dns_worker
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Return code from pthread_create(): %d"

.subsections_via_symbols
