	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_rthdr_getaddr            ## -- Begin function inet6_rthdr_getaddr
	.p2align	4, 0x90
_inet6_rthdr_getaddr:                   ## @inet6_rthdr_getaddr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_CMSG_DATA
	cmpl	$128, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	%rax, %rcx
	movl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	$46, %edx
	jg	LBB0_7
## %bb.3:
	movl	%edx, %esi
	andl	$1, %esi
	jne	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.5:
	addl	%edx, %edx
	cmpl	%ebx, %edx
	jl	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	leaq	(%rcx,%rax,4), %rax
	addq	$4, %rax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_rthdr_getaddr            ; -- Begin function inet6_rthdr_getaddr
	.p2align	2
_inet6_rthdr_getaddr:                   ; @inet6_rthdr_getaddr
	.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, x1
	bl	_CMSG_DATA
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0]
	and	w9, w8, #0x1
	cmp	w8, #46
	ccmp	w9, #0, #0, le
	b.eq	LBB0_4
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.5:
	lsl	w8, w8, #1
	cmp	w8, w19
	add	x8, x0, w19, uxtw #2
	add	x8, x8, #4
	csel	x0, xzr, x8, lt
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
