	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_cmpsaidx
_key_cmpsaidx:                          ## @key_cmpsaidx
	.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
	movl	$1, %r14d
	movq	%rdi, %rax
	orq	%rsi, %rax
	jne	LBB0_1
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.2:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.3:
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_20
## %bb.4:
	movq	_CMP_EXACTLY@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_9
## %bb.5:
	movq	8(%rbx), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_20
## %bb.6:
	movq	16(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_20
## %bb.7:
	leaq	28(%rbx), %rdi
	leaq	28(%r15), %rsi
	movl	28(%rbx), %edx
	callq	_bcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.8:
	addq	$24, %r15
	movl	24(%rbx), %edx
	addq	$24, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_bcmp
	jmp	LBB0_18
LBB0_9:
	movq	_CMP_MODE_REQID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edx, %eax
	je	LBB0_11
## %bb.10:
	movq	_CMP_REQID@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jne	LBB0_13
LBB0_11:
	movq	16(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	cmpq	%rcx, 16(%rbx)
	jne	LBB0_20
LBB0_13:
	cmpl	%edx, %eax
	jne	LBB0_16
## %bb.14:
	movq	8(%rbx), %rax
	movq	_IPSEC_MODE_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	cmpq	8(%r15), %rax
	jne	LBB0_20
LBB0_16:
	leaq	28(%rbx), %rdi
	leaq	28(%r15), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_key_sockaddrcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.17:
	addq	$24, %rbx
	addq	$24, %r15
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_key_sockaddrcmp
LBB0_18:
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:
	movl	$1, %r14d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_CMP_EXACTLY,4,2                ## @CMP_EXACTLY
	.comm	_CMP_MODE_REQID,4,2             ## @CMP_MODE_REQID
	.comm	_CMP_REQID,4,2                  ## @CMP_REQID
	.comm	_IPSEC_MODE_ANY,8,3             ## @IPSEC_MODE_ANY
	.no_dead_strip	_key_cmpsaidx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_cmpsaidx
_key_cmpsaidx:                          ; @key_cmpsaidx
	.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
	orr	x8, x0, x1
	cbnz	x8, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_19
LBB0_2:
	mov	x19, x0
	mov	w0, #0
	cbz	x19, LBB0_19
; %bb.3:
	mov	x20, x1
	cbz	x1, LBB0_19
; %bb.4:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.5:
Lloh0:
	adrp	x8, _CMP_EXACTLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMP_EXACTLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_10
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.7:
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.8:
	add	x1, x20, #28
	mov	x0, x19
	ldr	w2, [x0, #28]!
	bl	_bcmp
	cbnz	x0, LBB0_18
; %bb.9:
	add	x1, x20, #24
	ldr	w2, [x19, #24]!
	mov	x0, x19
	bl	_bcmp
	cbnz	x0, LBB0_18
	b	LBB0_1
LBB0_10:
Lloh3:
	adrp	x8, _CMP_MODE_REQID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMP_MODE_REQID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CMP_REQID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMP_REQID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w2
	ccmp	w9, w2, #4, ne
	b.ne	LBB0_13
; %bb.11:
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x10, [x19, #16]
	cmp	x10, x9
	b.ne	LBB0_18
LBB0_13:
	cmp	w8, w2
	b.ne	LBB0_16
; %bb.14:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _IPSEC_MODE_ANY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPSEC_MODE_ANY@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_18
LBB0_16:
	add	x0, x19, #28
	add	x1, x20, #28
	mov	w2, #0
	bl	_key_sockaddrcmp
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_19
; %bb.17:
	add	x0, x19, #24
	add	x1, x20, #24
	mov	w2, #0
	bl	_key_sockaddrcmp
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_19
	b	LBB0_1
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CMP_EXACTLY,4,2                ; @CMP_EXACTLY
	.comm	_CMP_MODE_REQID,4,2             ; @CMP_MODE_REQID
	.comm	_CMP_REQID,4,2                  ; @CMP_REQID
	.comm	_IPSEC_MODE_ANY,8,3             ; @IPSEC_MODE_ANY
	.no_dead_strip	_key_cmpsaidx
.subsections_via_symbols
