	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan_profile_create_ip_subnet
_lan_profile_create_ip_subnet:          ## @lan_profile_create_ip_subnet
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movslq	(%rdx), %rbx
	movl	4(%rbx), %edi
	callq	_inet_ntoa
	movl	(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$32, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	%rax, %rbx
	movq	$-1, %rax
	testq	%rbx, %rbx
	js	LBB0_3
## %bb.1:
	leaq	(%r14,%rbx,4), %rcx
	addq	$8, %rcx
	cmpq	%r15, %rcx
	ja	LBB0_3
## %bb.2:
	movq	_SDP_DATA_STR8@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_SDP_PUT8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SDP_PUT8
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	$2, %rbx
	movq	%rbx, %rax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%d"

	.comm	_SDP_DATA_STR8,8,3              ## @SDP_DATA_STR8
	.no_dead_strip	_lan_profile_create_ip_subnet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan_profile_create_ip_subnet
_lan_profile_create_ip_subnet:          ; @lan_profile_create_ip_subnet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldrsw	x20, [x2]
	ldr	w0, [x20, #4]
	bl	_inet_ntoa
	mov	x3, x0
	ldr	w4, [x20]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	bl	_snprintf
	mov	x20, x0
	mov	x0, #-1
	tbnz	x20, #63, LBB0_3
; %bb.1:
	add	x8, x19, x20, lsl #2
	add	x8, x8, #8
	cmp	x8, x21
	b.hi	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _SDP_DATA_STR8@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SDP_DATA_STR8@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_SDP_PUT8
	mov	x0, x20
	mov	x1, x19
	bl	_SDP_PUT8
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
	add	x0, x20, #2
LBB0_3:
	ldr	x8, [sp, #40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #96
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%d"

	.comm	_SDP_DATA_STR8,8,3              ; @SDP_DATA_STR8
	.no_dead_strip	_lan_profile_create_ip_subnet
.subsections_via_symbols
