	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_options_undo                ## -- Begin function ip_options_undo
	.p2align	4, 0x90
_ip_options_undo:                       ## @ip_options_undo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movslq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$3, %rdi
	leaq	(%rcx,%rax), %r14
	decq	%r14
	movb	-3(%rcx,%rax), %al
	addb	$-7, %al
	movzbl	%al, %edx
	movq	%r14, %rsi
	callq	_memmove
	leaq	48(%rbx), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_2:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movslq	16(%rbx), %rcx
	leaq	(%rax,%rcx), %rsi
	movb	-2(%rax,%rcx), %dl
	addb	$-4, %dl
	movb	%dl, -2(%rax,%rcx)
	movzbl	%dl, %eax
	leaq	(%rax,%rsi), %rdi
	addq	$-5, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_4:
	movslq	20(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %r14
	addq	$-4, %r14
	cmpq	$0, 32(%rbx)
	je	LBB0_8
## %bb.6:
	movb	2(%r14), %al
	addb	$-4, %al
	movb	%al, 2(%r14)
	movzbl	%al, %eax
	leaq	(%rax,%r14), %rdi
	decq	%rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movb	3(%r14), %al
	andb	$15, %al
	movq	_IPOPT_TS_PRESPEC@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_8
## %bb.7:
	addb	$-4, 2(%r14)
LBB0_8:
	cmpq	$0, 24(%rbx)
	je	LBB0_9
## %bb.10:
	movb	2(%r14), %al
	addb	$-4, %al
	movb	%al, 2(%r14)
	movzbl	%al, %eax
	leaq	(%rax,%r14), %rdi
	decq	%rdi
	xorl	%esi, %esi
	movl	$4, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOPT_TS_PRESPEC,1,0           ## @IPOPT_TS_PRESPEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_options_undo                ; -- Begin function ip_options_undo
	.p2align	2
_ip_options_undo:                       ; @ip_options_undo
	.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
	mov	x19, x0
	ldrsw	x8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [x19, #8]
	add	x8, x9, x8
	add	x0, x8, #3
	sub	x20, x8, #1
	ldurb	w8, [x8, #-3]
	sub	w8, w8, #7
	and	w2, w8, #0xff
	mov	x1, x20
	bl	_memmove
	add	x1, x19, #48
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	add	x8, x8, x9
	ldurb	w9, [x8, #-2]
	sub	w9, w9, #4
	add	x10, x8, w9, uxtb
	sturb	w9, [x8, #-2]
	sub	x0, x10, #5
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_4:
	ldrsw	x8, [x19, #20]
	cbz	w8, LBB0_10
; %bb.5:
	ldr	x9, [x19, #8]
	add	x8, x9, x8
	sub	x20, x8, #4
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_8
; %bb.6:
	ldrb	w8, [x20, #2]
	sub	w8, w8, #4
	strb	w8, [x20, #2]
	add	x8, x20, w8, uxtb
	sub	x0, x8, #1
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldrb	w8, [x20, #3]
	and	w8, w8, #0xf
Lloh0:
	adrp	x9, _IPOPT_TS_PRESPEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPOPT_TS_PRESPEC@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
	ldrb	w8, [x20, #2]
	sub	w8, w8, #4
	strb	w8, [x20, #2]
LBB0_8:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.9:
	ldrb	w8, [x20, #2]
	sub	w8, w8, #4
	strb	w8, [x20, #2]
	add	x8, x20, w8, uxtb
	sub	x0, x8, #1
	mov	w1, #0
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOPT_TS_PRESPEC,1,0           ; @IPOPT_TS_PRESPEC
.subsections_via_symbols
