	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolve_bind_local
_resolve_bind_local:                    ## @resolve_bind_local
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -40(%rbp)
	movq	8(%r15), %rax
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	_GETADDR_RESOLVE@GOTPCREL(%rip), %rax
	movq	_GETADDR_WARN_ON_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_GETADDR_FATAL@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_GETADDR_PASSIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	16(%r15), %edi
	callq	_proto_is_dgram
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_GETADDR_DATAGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	orl	%r12d, %ebx
	movl	24(%r15), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	8(%r15), %r9
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_get_cached_dns_entry
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	8(%r15), %rax
	movq	%rax, (%rsp)
	movl	%ebx, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	callq	_openvpn_getaddrinfo
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_M_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	(%r15), %r14d
	movl	4(%r15), %r15d
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_msg
LBB0_6:
	leaq	-40(%rbp), %rdi
	callq	_gc_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GETADDR_RESOLVE,4,2            ## @GETADDR_RESOLVE
	.comm	_GETADDR_WARN_ON_SIGNAL,4,2     ## @GETADDR_WARN_ON_SIGNAL
	.comm	_GETADDR_FATAL,4,2              ## @GETADDR_FATAL
	.comm	_GETADDR_PASSIVE,4,2            ## @GETADDR_PASSIVE
	.comm	_GETADDR_DATAGRAM,4,2           ## @GETADDR_DATAGRAM
	.comm	_M_FATAL,4,2                    ## @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getaddrinfo() failed for local \"%s:%s\": %s"

	.no_dead_strip	_resolve_bind_local
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolve_bind_local
_resolve_bind_local:                    ; @resolve_bind_local
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_gc_new
	str	w0, [sp, #8]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _GETADDR_RESOLVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GETADDR_RESOLVE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _GETADDR_WARN_ON_SIGNAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GETADDR_WARN_ON_SIGNAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _GETADDR_FATAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GETADDR_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _GETADDR_PASSIVE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GETADDR_PASSIVE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w21, w8, w9
	ldr	w0, [x19, #16]
	bl	_proto_is_dgram
Lloh12:
	adrp	x8, _GETADDR_DATAGRAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GETADDR_DATAGRAM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w21, w21, w8
	ldr	w0, [x19, #24]
	ldp	w2, w1, [x19]
	ldr	x5, [x19, #8]
	mov	x3, x20
	mov	x4, x21
	bl	_get_cached_dns_entry
	cbz	w0, LBB0_4
; %bb.2:
	ldp	w2, w1, [x19]
	ldr	x6, [x19, #8]
	mov	x0, x21
	mov	w3, #0
	mov	x4, #0
	mov	x5, x20
	bl	_openvpn_getaddrinfo
	cbz	w0, LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _M_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _M_FATAL@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	ldp	w19, w21, [x19]
	bl	_gai_strerror
	mov	x4, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_msg
LBB0_4:
	add	x0, sp, #8
	bl	_gc_free
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GETADDR_RESOLVE,4,2            ; @GETADDR_RESOLVE
	.comm	_GETADDR_WARN_ON_SIGNAL,4,2     ; @GETADDR_WARN_ON_SIGNAL
	.comm	_GETADDR_FATAL,4,2              ; @GETADDR_FATAL
	.comm	_GETADDR_PASSIVE,4,2            ; @GETADDR_PASSIVE
	.comm	_GETADDR_DATAGRAM,4,2           ; @GETADDR_DATAGRAM
	.comm	_M_FATAL,4,2                    ; @M_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getaddrinfo() failed for local \"%s:%s\": %s"

	.no_dead_strip	_resolve_bind_local
.subsections_via_symbols
