	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_auto_bind
_dn_auto_bind:                          ## @dn_auto_bind
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_DN_SK
	movq	%rax, %rbx
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_sock_reset_flag
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movl	48(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$12, %edi
	jg	LBB0_3
## %bb.2:
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	24(%rbx), %r15d
	movl	52(%rbx), %r12d
	movq	%rax, %rdi
	callq	_le16_to_cpu
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	$0, 48(%rbx)
	movl	52(%rbx), %edi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
LBB0_3:
	movl	$2, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdi
	callq	_dn_dev_bind_default
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_dn_hash_sock
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_sock_set_flag
	jmp	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.no_dead_strip	_dn_auto_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_auto_bind
_dn_auto_bind:                          ; @dn_auto_bind
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0]
	mov	x0, x19
	bl	_DN_SK
	mov	x20, x0
Lloh0:
	adrp	x23, _SOCK_ZAPPED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SOCK_ZAPPED@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_sock_reset_flag
	stp	xzr, xzr, [x20, #32]
	ldr	w0, [x20, #48]
	cmp	w0, #0
	ccmp	w0, #12, #0, ne
	b.gt	LBB0_2
; %bb.1:
	bl	_cpu_to_le16
	str	x0, [x20, #16]
	ldr	w21, [x20, #24]
	ldr	w22, [x20, #52]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memcpy
	str	wzr, [x20, #48]
	ldr	w0, [x20, #52]
	mov	w1, #0
	mov	w2, #40
	bl	_memset
LBB0_2:
	mov	w0, #2
	bl	_cpu_to_le16
	str	x0, [x20, #8]
	ldr	x0, [x20]
	bl	_dn_dev_bind_default
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_dn_hash_sock
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_sock_set_flag
LBB0_5:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.no_dead_strip	_dn_auto_bind
.subsections_via_symbols
