	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atrtr_find
_atrtr_find:                            ## @atrtr_find
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_atalk_routes_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	movq	_atalk_routes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_RTF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_RTF_HOST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rbx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movl	(%rax), %edi
	testl	%edi, %ecx
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %rbx
	cmpq	(%r14), %rbx
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	testl	%edi, %edx
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rax), %rdi
	movq	%rsi, %rbx
	cmpq	8(%r14), %rdi
	jne	LBB0_4
## %bb.10:
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_5:
	testq	%rbx, %rbx
	jne	LBB0_11
LBB0_6:
	movq	_atrtr_default@GOTPCREL(%rip), %rbx
	movq	8(%rbx), %rax
	testq	%rax, %rax
	cmoveq	%rax, %rbx
LBB0_11:
	movq	_atalk_routes_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atalk_routes_lock,4,2          ## @atalk_routes_lock
	.comm	_atalk_routes,8,3               ## @atalk_routes
	.comm	_RTF_UP,4,2                     ## @RTF_UP
	.comm	_RTF_HOST,4,2                   ## @RTF_HOST
	.comm	_atrtr_default,40,3             ## @atrtr_default
	.no_dead_strip	_atrtr_find
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atrtr_find
_atrtr_find:                            ; @atrtr_find
	.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, x0
Lloh0:
	adrp	x0, _atalk_routes_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _atalk_routes_lock@GOTPAGEOFF]
	bl	_read_lock_bh
Lloh2:
	adrp	x8, _atalk_routes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _atalk_routes@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x20, #0
Lloh5:
	adrp	x9, _RTF_UP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RTF_UP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _RTF_HOST@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RTF_HOST@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	ldr	w11, [x8]
	tst	w9, w11
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x8, #16]
	ldr	x13, [x19]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x8
	tst	w10, w11
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x8, #24]
	ldr	x12, [x19, #8]
	mov	x20, x0
	cmp	x11, x12
	b.ne	LBB0_3
; %bb.8:
	mov	x20, x8
	b	LBB0_11
LBB0_9:
	cbnz	x20, LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _atrtr_default@GOTPAGE
Lloh12:
	ldr	x8, [x8, _atrtr_default@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	cmp	x9, #0
	csel	x20, xzr, x8, eq
LBB0_11:
Lloh13:
	adrp	x0, _atalk_routes_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _atalk_routes_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_atalk_routes_lock,4,2          ; @atalk_routes_lock
	.comm	_atalk_routes,8,3               ; @atalk_routes
	.comm	_RTF_UP,4,2                     ; @RTF_UP
	.comm	_RTF_HOST,4,2                   ; @RTF_HOST
	.comm	_atrtr_default,40,3             ; @atrtr_default
	.no_dead_strip	_atrtr_find
.subsections_via_symbols
