	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxrpc_init_client_conn_security ## -- Begin function rxrpc_init_client_conn_security
	.p2align	4, 0x90
_rxrpc_init_client_conn_security:       ## @rxrpc_init_client_conn_security
	.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, %r15
	movq	16(%rdi), %rbx
	movl	8(%rdi), %r14d
	movq	%rbx, %rdi
	callq	_key_serial
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	__enter
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_key_validate
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rax), %edi
	callq	_rxrpc_security_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	__leave
	jmp	LBB0_9
LBB0_4:
	movq	_EKEYREJECTED@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_2:
	movl	%eax, %r14d
	jmp	LBB0_9
LBB0_7:
	movl	%eax, %ebx
	movq	(%r15), %rdi
	callq	_rxrpc_security_put
	movq	$0, (%r15)
	movl	%ebx, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{%d},{%x}"

	.comm	_EKEYREJECTED,4,2               ## @EKEYREJECTED
L_.str.1:                               ## @.str.1
	.asciz	" = 0"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxrpc_init_client_conn_security ; -- Begin function rxrpc_init_client_conn_security
	.p2align	2
_rxrpc_init_client_conn_security:       ; @rxrpc_init_client_conn_security
	.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
	ldr	x21, [x0, #16]
	ldr	w20, [x0, #8]
	mov	x0, x21
	bl	_key_serial
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	__enter
	cbz	x21, LBB0_6
; %bb.1:
	mov	x0, x21
	bl	_key_validate
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w0, [x8]
	bl	_rxrpc_security_lookup
	cbz	x0, LBB0_7
; %bb.4:
	str	x0, [x19]
	ldr	x8, [x0]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_9
; %bb.5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__leave
LBB0_6:
	mov	w20, #0
	b	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _EKEYREJECTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EKEYREJECTED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_8:
	mov	x20, x0
	b	LBB0_10
LBB0_9:
	mov	x20, x0
	ldr	x0, [x19]
	bl	_rxrpc_security_put
	str	xzr, [x19]
LBB0_10:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{%d},{%x}"

	.comm	_EKEYREJECTED,4,2               ; @EKEYREJECTED
l_.str.1:                               ; @.str.1
	.asciz	" = 0"

.subsections_via_symbols
