	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_base_nameserver_ip_add   ## -- Begin function evdns_base_nameserver_ip_add
	.p2align	4, 0x90
_evdns_base_nameserver_ip_add:          ## @evdns_base_nameserver_ip_add
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$4, -28(%rbp)
	leaq	-24(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_evutil_parse_sockaddr_port
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EVDNS_LOG_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_log
	movl	$4, %ebx
	jmp	LBB0_5
LBB0_2:
	leaq	-24(%rbp), %rdi
	callq	_sockaddr_getport
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	-24(%rbp), %rdi
	movl	$53, %esi
	callq	_sockaddr_setport
LBB0_4:
	movq	%r14, %rdi
	callq	_EVDNS_LOCK
	movl	-28(%rbp), %edx
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_evdns_nameserver_add_impl_
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_EVDNS_UNLOCK
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVDNS_LOG_WARN,4,2             ## @EVDNS_LOG_WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to parse nameserver address %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_base_nameserver_ip_add   ; -- Begin function evdns_base_nameserver_ip_add
	.p2align	2
_evdns_base_nameserver_ip_add:          ; @evdns_base_nameserver_ip_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w8, #4
	str	w8, [sp, #4]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x20
	bl	_evutil_parse_sockaddr_port
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EVDNS_LOG_WARN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVDNS_LOG_WARN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_log
	mov	w20, #4
	b	LBB0_5
LBB0_2:
	add	x0, sp, #8
	bl	_sockaddr_getport
	cbnz	x0, LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	w1, #53
	bl	_sockaddr_setport
LBB0_4:
	mov	x0, x19
	bl	_EVDNS_LOCK
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	mov	x0, x19
	bl	_evdns_nameserver_add_impl_
	mov	x20, x0
	mov	x0, x19
	bl	_EVDNS_UNLOCK
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVDNS_LOG_WARN,4,2             ; @EVDNS_LOG_WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to parse nameserver address %s"

.subsections_via_symbols
