	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_pin_code_request_event
_process_pin_code_request_event:        ## @process_pin_code_request_event
	.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
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_LOG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movl	(%rsi), %r12d
	movq	%rdx, %rdi
	xorl	%esi, %esi
	callq	_bt_ntoa
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_syslog
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_get_key
	movl	(%r15), %r12d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_bt_ntoa
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	leaq	L_.str.2(%rip), %rcx
	cmovneq	%rdx, %rcx
	cmpq	$0, 8(%rbx)
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rdx, %r8
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_syslog
	movq	8(%rbx), %rbx
	jmp	LBB0_3
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_bt_ntoa
	leaq	L_.str.5(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_syslog
LBB0_3:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_pin_code_reply            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got PIN_Code_Request event from '%s', remote bdaddr %s"

L_.str.1:                               ## @.str.1
	.asciz	"Found matching entry, remote bdaddr %s, name '%s', PIN code %s"

L_.str.2:                               ## @.str.2
	.asciz	"No name"

L_.str.3:                               ## @.str.3
	.asciz	"exists"

L_.str.4:                               ## @.str.4
	.asciz	"doesn't exist"

L_.str.5:                               ## @.str.5
	.asciz	"Could not PIN code for remote bdaddr %s"

	.no_dead_strip	_process_pin_code_request_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_pin_code_request_event
_process_pin_code_request_event:        ; @process_pin_code_request_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LOG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x24]
	ldr	w23, [x1]
	mov	x0, x2
	mov	x1, #0
	bl	_bt_ntoa
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_syslog
	mov	x0, x19
	mov	w1, #0
	bl	_get_key
	ldr	w22, [x24]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	add	x0, x0, #16
	mov	x1, #0
	bl	_bt_ntoa
	mov	x2, x0
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	ldp	x9, x10, [x23]
	cmp	x9, #0
	csel	x8, x8, x9, eq
Lloh6:
	adrp	x9, l_.str.3@PAGE
Lloh7:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh8:
	adrp	x11, l_.str.4@PAGE
Lloh9:
	add	x11, x11, l_.str.4@PAGEOFF
	cmp	x10, #0
	csel	x9, x11, x9, eq
	stp	x8, x9, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_syslog
	ldr	x3, [x23, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, #0
	bl	_bt_ntoa
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_syslog
	mov	x3, #0
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_send_pin_code_reply
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got PIN_Code_Request event from '%s', remote bdaddr %s"

l_.str.1:                               ; @.str.1
	.asciz	"Found matching entry, remote bdaddr %s, name '%s', PIN code %s"

l_.str.2:                               ; @.str.2
	.asciz	"No name"

l_.str.3:                               ; @.str.3
	.asciz	"exists"

l_.str.4:                               ; @.str.4
	.asciz	"doesn't exist"

l_.str.5:                               ; @.str.5
	.asciz	"Could not PIN code for remote bdaddr %s"

	.no_dead_strip	_process_pin_code_request_event
.subsections_via_symbols
