	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipv4_create
_ipv4_create:                           ## @ipv4_create
	.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
	cmpl	$4, (%rsi)
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	8(%rsi), %esi
	leaq	-28(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$12, %rdi
	callq	_snmpd_input_init
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	movl	$16, 8(%rbx)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	-28(%rbp), %edi
	callq	_htonl
	movl	%eax, 16(%rbx)
	movl	4(%r15), %edi
	callq	_htons
	movl	%eax, 12(%rbx)
	movq	%r14, (%rbx)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_link,4,2                       ## @link
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.no_dead_strip	_ipv4_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipv4_create
_ipv4_create:                           ; @ipv4_create
	.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
	ldr	w8, [x1]
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x1, #8]
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcpy
	mov	w22, #16
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	add	x0, x0, #12
	bl	_snmpd_input_init
Lloh0:
	adrp	x8, _link@GOTPAGE
Lloh1:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_TAILQ_INSERT_HEAD
	str	w22, [x21, #8]
Lloh3:
	adrp	x8, _AF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #20]
	ldr	w0, [sp, #12]
	bl	_htonl
	str	w0, [x21, #16]
	ldr	w0, [x20, #4]
	bl	_htons
	str	w0, [x21, #12]
	str	x19, [x21]
Lloh6:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_link,4,2                       ; @link
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.no_dead_strip	_ipv4_create
.subsections_via_symbols
