	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function net__addr_v4_add
_net__addr_v4_add:                      ## @net__addr_v4_add
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_inet_pton
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	$1, %ecx
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %edi
	callq	_ntohl
	movl	%eax, -28(%rbp)
	movq	_iface@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_printf
	movq	(%r15), %rsi
	leaq	-28(%rbp), %rdx
	xorl	%edi, %edi
	movl	%r14d, %ecx
	callq	_net_addr_v4_add
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CMD: ip addr add %s/%d dev %s\n"

	.comm	_iface,8,3                      ## @iface
	.no_dead_strip	_net__addr_v4_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function net__addr_v4_add
_net__addr_v4_add:                      ; @net__addr_v4_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	x1, x20
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_ntohl
	str	w0, [sp, #12]
Lloh3:
	adrp	x21, _iface@GOTPAGE
Lloh4:
	ldr	x21, [x21, _iface@GOTPAGEOFF]
	ldr	x3, [x21]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_printf
	ldr	x1, [x21]
	add	x2, sp, #12
	mov	x0, #0
	mov	x3, x19
	bl	_net_addr_v4_add
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CMD: ip addr add %s/%d dev %s\n"

	.comm	_iface,8,3                      ; @iface
	.no_dead_strip	_net__addr_v4_add
.subsections_via_symbols
