	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_get_type
_xfrm_get_type:                         ## @xfrm_get_type
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_xfrm_state_get_afinfo
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movzwl	%bx, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_try_module_get
	testl	%eax, %eax
	sete	%al
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	movl	$0, %eax
	cmovneq	%rax, %rbx
	testq	%rbx, %rbx
	setne	%al
	orb	%al, %r12b
	movq	%r13, %rdi
	callq	_xfrm_state_put_afinfo
	testb	$1, %r12b
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_request_module
	movl	%r15d, %edi
	callq	_xfrm_state_get_afinfo
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	movb	$1, %r12b
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xfrm-type-%d-%d"

	.no_dead_strip	_xfrm_get_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_get_type
_xfrm_get_type:                         ; @xfrm_get_type
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_xfrm_state_get_afinfo
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	x22, #0
	b	LBB0_6
LBB0_2:
	ldr	x8, [x21]
	ldr	x22, [x8, x19, lsl #3]
	cbz	x22, LBB0_4
; %bb.3:
	ldr	w0, [x22]
	bl	_try_module_get
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_unlikely
	cmp	x0, #0
	csel	x22, x22, xzr, eq
	mov	x0, x21
	bl	_xfrm_state_put_afinfo
	cbz	x22, LBB0_7
LBB0_6:
	mov	x0, x22
	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
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_request_module
	mov	x0, x20
	bl	_xfrm_state_get_afinfo
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_1
; %bb.8:
	ldr	x8, [x20]
	ldr	x19, [x8, x19, lsl #3]
	cbz	x19, LBB0_10
; %bb.9:
	ldr	w0, [x19]
	bl	_try_module_get
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	bl	_unlikely
	cmp	x0, #0
	csel	x22, x19, xzr, eq
	mov	x0, x20
	bl	_xfrm_state_put_afinfo
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xfrm-type-%d-%d"

	.no_dead_strip	_xfrm_get_type
.subsections_via_symbols
