	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_proto0
_add_proto0:                            ## @add_proto0
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %ebx
	movq	-40(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	testl	%ebx, %ebx
	jg	LBB0_5
LBB0_2:
	movq	%r12, %rdi
	callq	_getprotobyname
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%rax), %ebx
LBB0_5:
	movq	_O_PROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_fill_cmd
	movl	%ebx, (%r14)
	jmp	LBB0_6
LBB0_3:
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_PROTO,4,2                    ## @O_PROTO
	.no_dead_strip	_add_proto0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_proto0
_add_proto0:                            ; @add_proto0
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #10
	bl	_strtol
	mov	x21, x0
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cmp	w8, #0
	ccmp	w0, #0, #4, eq
	b.gt	LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_getprotobyname
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w21, [x0]
LBB0_3:
Lloh0:
	adrp	x8, _O_PROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_PROTO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	bl	_fill_cmd
	str	w21, [x20]
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_O_PROTO,4,2                    ; @O_PROTO
	.no_dead_strip	_add_proto0
.subsections_via_symbols
