	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addr_matches_master
_addr_matches_master:                   ## @addr_matches_master
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, -64(%rbp)
	movl	$0, -52(%rbp)
	movl	16(%rdi), %edi
	callq	_addr_in_list
	testq	%rax, %rax
	je	LBB0_1
LBB0_11:
	movq	%rbx, (%r14)
	movl	$1, %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_extstrtoaddr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-64(%rbp), %rcx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_sockaddr_cmp_addr
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:
	xorl	%r13d, %r13d
	cmpq	$0, 8(%rbx)
	je	LBB0_12
## %bb.4:
	cmpl	$0, 4(%rbx)
	jne	LBB0_12
## %bb.5:
	movl	(%rbx), %edi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movl	(%rbx), %edi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movl	$47, %esi
	callq	_strrchr
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_12
## %bb.7:
	movl	(%rbx), %edi
	movq	_UNBOUND_DNS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-52(%rbp), %r8
	callq	_netblockstrtoaddr
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	cmpq	%r12, -64(%rbp)
	jne	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_addr_is_ip6
	testq	%rax, %rax
	movl	$32, %eax
	movl	$128, %esi
	cmovel	%eax, %esi
	movl	-52(%rbp), %ecx
	movq	-64(%rbp), %r8
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_addr_in_common
	xorl	%r13d, %r13d
	cmpl	-52(%rbp), %eax
	jl	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_UNBOUND_DNS_PORT,4,2           ## @UNBOUND_DNS_PORT
	.no_dead_strip	_addr_matches_master
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addr_matches_master
_addr_matches_master:                   ; @addr_matches_master
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	str	xzr, [sp, #16]
	str	wzr, [sp, #12]
	ldr	w0, [x0, #16]
	bl	_addr_in_list
	cbz	x0, LBB0_2
LBB0_1:
	str	x22, [x19]
	mov	w0, #1
	b	LBB0_7
LBB0_2:
	ldr	w0, [x22]
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_extstrtoaddr
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x3, [sp, #16]
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x21
	bl	_sockaddr_cmp_addr
	cbz	x0, LBB0_1
LBB0_4:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	w0, [x22]
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.9:
	ldr	w0, [x22]
	mov	w1, #47
	bl	_strchr
	mov	x23, x0
	ldr	w0, [x22]
	mov	w1, #47
	bl	_strrchr
	cmp	x23, x0
	b.ne	LBB0_6
; %bb.10:
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _UNBOUND_DNS_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNBOUND_DNS_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	bl	_netblockstrtoaddr
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_7
; %bb.11:
	ldr	x8, [sp, #16]
	cmp	x8, x21
	b.ne	LBB0_7
; %bb.12:
	mov	x0, x20
	mov	x1, x21
	bl	_addr_is_ip6
	cmp	x0, #0
	mov	w8, #128
	mov	w9, #32
	csel	w1, w9, w8, eq
	ldr	w3, [sp, #12]
	ldr	x4, [sp, #16]
	add	x2, sp, #24
	mov	x0, x20
	bl	_addr_in_common
	ldr	w8, [sp, #12]
	cmp	w0, w8
	b.lt	LBB0_6
; %bb.13:
	mov	x22, #0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNBOUND_DNS_PORT,4,2           ; @UNBOUND_DNS_PORT
	.no_dead_strip	_addr_matches_master
.subsections_via_symbols
