	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_options_get_finish
_ip_options_get_finish:                 ## @ip_options_get_finish
	.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
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdx, %r15
	movq	%rsi, %r14
	testb	$3, %cl
	je	LBB0_5
## %bb.1:
	movq	8(%r15), %rdx
	movslq	%ecx, %rax
	movq	_IPOPT_END@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	leaq	1(%rax), %rcx
	movl	%ebx, (%rdx,%rax,4)
	testb	$3, %cl
	je	LBB0_5
## %bb.2:
	movl	(%rsi), %ebx
	leaq	2(%rax), %rcx
	movl	%ebx, 4(%rdx,%rax,4)
	testb	$3, %cl
	je	LBB0_5
## %bb.3:
	movl	(%rsi), %ebx
	leaq	3(%rax), %rcx
	movl	%ebx, 8(%rdx,%rax,4)
	testb	$3, %cl
	je	LBB0_5
## %bb.4:
	movl	(%rsi), %ecx
	movl	%ecx, 12(%rdx,%rax,4)
	addq	$4, %rax
	movq	%rax, %rcx
LBB0_5:
	movl	%ecx, (%r15)
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ip_options_compile
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_kfree_ip_options
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_8:
	movq	(%r14), %rdi
	callq	_kfree_ip_options
	movq	%r15, (%r14)
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOPT_END,4,2                  ## @IPOPT_END
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ip_options_get_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_options_get_finish
_ip_options_get_finish:                 ; @ip_options_get_finish
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x19, x2
	mov	x20, x1
	tst	w3, #0x3
	b.eq	LBB0_7
; %bb.1:
	ldr	x9, [x19, #8]
Lloh0:
	adrp	x11, _IPOPT_END@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IPOPT_END@GOTPAGEOFF]
	sxtw	x10, w3
	ldr	w12, [x11]
	add	x8, x10, #1
	str	w12, [x9, w3, sxtw #2]
	tst	x8, #0x3
	b.eq	LBB0_6
; %bb.2:
	ldr	w13, [x11]
	add	x12, x10, #2
	str	w13, [x9, x8, lsl #2]
	tst	x12, #0x3
	b.eq	LBB0_5
; %bb.3:
	ldr	w13, [x11]
	add	x8, x10, #3
	str	w13, [x9, x12, lsl #2]
	tst	x8, #0x3
	b.eq	LBB0_6
; %bb.4:
	ldr	w11, [x11]
	str	w11, [x9, x8, lsl #2]
	add	x8, x10, #4
	b	LBB0_6
LBB0_5:
	mov	x8, x12
LBB0_6:
	mov	x3, x8
LBB0_7:
	str	w3, [x19]
	cbz	w3, LBB0_10
; %bb.8:
	mov	x1, x19
	mov	x2, #0
	bl	_ip_options_compile
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_kfree_ip_options
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
	ldr	x0, [x20]
	bl	_kfree_ip_options
	mov	w0, #0
	str	x19, [x20]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOPT_END,4,2                  ; @IPOPT_END
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ip_options_get_finish
.subsections_via_symbols
