	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atif_proxy_probe_device
_atif_proxy_probe_device:               ## @atif_proxy_probe_device
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_ntohs
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_ntohs
	subl	%eax, %r15d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	callq	_ntohs
	movl	%eax, %ecx
	movq	_ATADDR_ANYNODE@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movq	_ATADDR_ANYNET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_5
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r12d
	movl	(%r14), %edi
	callq	_ntohs
	movl	%eax, %ecx
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%r12d
	addl	%edx, %ecx
LBB0_5:
	cmpl	(%r15), %r13d
	jne	LBB0_7
## %bb.6:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_7:
	cmpl	$-1, -48(%rbp)                  ## 4-byte Folded Reload
	jge	LBB0_8
LBB0_17:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	(%r15), %r13d
	jne	LBB0_8
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$2, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	_EADDRINUSE@GOTPCREL(%rip), %r12
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edi
	callq	_htons
	movl	%eax, 4(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	incl	%r15d
	cmpl	$256, %r15d                     ## imm = 0x100
	je	LBB0_13
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r15,%r13), %eax
	movzbl	%al, %eax
	movl	%eax, (%rbx)
	decl	%eax
	cmpl	$252, %eax
	ja	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_aarp_proxy_probe_network
	movl	(%r12), %ecx
	addl	%eax, %ecx
	je	LBB0_12
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	4(%r14), %edi
	callq	_ntohs
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%eax, %ecx
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r14), %edi
	callq	_ntohs
	movl	%eax, %ecx
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_9
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ATADDR_ANYNODE,4,2             ## @ATADDR_ANYNODE
	.comm	_ATADDR_ANYNET,4,2              ## @ATADDR_ANYNET
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.no_dead_strip	_atif_proxy_probe_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atif_proxy_probe_device
_atif_proxy_probe_device:               ; @atif_proxy_probe_device
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_ntohs
	mov	x21, x0
	ldr	w0, [x20]
	bl	_ntohs
	sub	w25, w21, w0
	ldr	w0, [x20, #8]
	bl	_ntohs
	mov	x21, x0
Lloh0:
	adrp	x24, _ATADDR_ANYNODE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ATADDR_ANYNODE@GOTPAGEOFF]
	ldr	w23, [x24]
Lloh2:
	adrp	x8, _ATADDR_ANYNET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATADDR_ANYNET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x22, _EADDRINUSE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EADDRINUSE@GOTPAGEOFF]
Lloh7:
	adrp	x26, _jiffies@GOTPAGE
Lloh8:
	ldr	x26, [x26, _jiffies@GOTPAGEOFF]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	add	w27, w25, #1
	ldr	w0, [x20]
	bl	_ntohs
	mov	x21, x0
	cbz	w27, LBB0_6
; %bb.2:
	ldr	w8, [x26]
	sdiv	w9, w8, w27
	msub	w8, w9, w27, w8
	add	w21, w8, w21
LBB0_3:
	ldr	w8, [x24]
	ldr	w9, [x26]
	cmp	w23, w8
	csel	w23, w9, w23, eq
	cmn	w25, #1
	b.ge	LBB0_7
LBB0_4:
	ldr	w8, [x22]
	neg	w0, w8
LBB0_5:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x24]
	ldr	w9, [x26]
	cmp	w23, w8
	csel	w23, w9, w23, eq
LBB0_7:
	mov	w24, #0
	add	w25, w25, #2
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x21
	bl	_htons
	mov	w26, #0
	str	w0, [x19, #4]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w26, w26, #1
	cmp	w26, #256
	b.eq	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w23, w26
	and	w8, w8, #0xff
	str	w8, [x19]
	sub	w8, w8, #1
	cmp	w8, #252
	b.hi	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_aarp_proxy_probe_network
	ldr	w8, [x22]
	cmn	w0, w8
	b.eq	LBB0_9
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20, #4]
	bl	_ntohs
	cmp	w21, w0
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20]
	bl	_ntohs
	mov	x21, x0
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	cmp	w24, w25
	b.ne	LBB0_8
	b	LBB0_4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATADDR_ANYNODE,4,2             ; @ATADDR_ANYNODE
	.comm	_ATADDR_ANYNET,4,2              ; @ATADDR_ANYNET
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.no_dead_strip	_atif_proxy_probe_device
.subsections_via_symbols
