	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inp_findmoptions
_inp_findmoptions:                      ## @inp_findmoptions
	.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
	movq	%rdi, %r14
	callq	_INP_WLOCK
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_INP_WUNLOCK
	movq	_M_IPMOPTS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	$0, 24(%rax)
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$-1, (%rbx)
	movq	_IP_DEFAULT_MULTICAST_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_in_mcast_loop@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	4(%rbx), %rdi
	callq	_STAILQ_INIT
	movq	%r14, %rdi
	callq	_INP_WLOCK
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	(%r14), %rbx
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, (%r14)
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IPMOPTS,4,2                  ## @M_IPMOPTS
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_IP_DEFAULT_MULTICAST_TTL,4,2   ## @IP_DEFAULT_MULTICAST_TTL
	.comm	_in_mcast_loop,4,2              ## @in_mcast_loop
	.no_dead_strip	_inp_findmoptions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inp_findmoptions
_inp_findmoptions:                      ; @inp_findmoptions
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	bl	_INP_WLOCK
	ldr	x20, [x19]
	cbnz	x20, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_INP_WUNLOCK
Lloh0:
	adrp	x21, _M_IPMOPTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_IPMOPTS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #32
	bl	_malloc
	mov	x20, x0
	str	xzr, [x0, #24]
Lloh5:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	mov	w8, #-1
	str	w8, [x0]
Lloh8:
	adrp	x8, _IP_DEFAULT_MULTICAST_TTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IP_DEFAULT_MULTICAST_TTL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _in_mcast_loop@GOTPAGE
Lloh12:
	ldr	x9, [x9, _in_mcast_loop@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	add	x0, x0, #4
	bl	_STAILQ_INIT
	mov	x0, x19
	bl	_INP_WLOCK
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_free
	ldr	x20, [x19]
	b	LBB0_4
LBB0_3:
	str	x20, [x19]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IPMOPTS,4,2                  ; @M_IPMOPTS
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_IP_DEFAULT_MULTICAST_TTL,4,2   ; @IP_DEFAULT_MULTICAST_TTL
	.comm	_in_mcast_loop,4,2              ; @in_mcast_loop
	.no_dead_strip	_inp_findmoptions
.subsections_via_symbols
