	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in_bind_key                    ## -- Begin function in_bind_key
	.p2align	4, 0x90
_in_bind_key:                           ## @in_bind_key
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r13d
	callq	_get_dev
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %rbx
	movq	_IN_BINDTYPE_COUNT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jle	LBB0_18
## %bb.2:
	movslq	(%rbx), %rsi
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.3:
	testl	%r13d, %r13d
	js	LBB0_18
## %bb.4:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	$-1, %r15d
	cmpl	%r13d, %esi
	jle	LBB0_19
## %bb.5:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.6:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	notl	%r14d
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%rcx, %r12
	callq	_IN_BIND_OFFS
	andl	%r14d, (%r12,%rax,4)
	jmp	LBB0_14
LBB0_9:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	jne	LBB0_19
## %bb.10:
	movl	20(%rbx), %edi
	movq	%rsi, %r14
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_in_alloc_binds
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:
	testl	%r13d, %r13d
	js	LBB0_18
## %bb.12:
	movq	%rax, %rcx
	movl	$-1, %r15d
	movq	%r14, %rsi
	cmpl	%r13d, %esi
	movq	_IN_BINDTYPE_COUNT@GOTPCREL(%rip), %rax
	jle	LBB0_19
LBB0_13:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%rcx, %r14
	callq	_IN_BIND_OFFS
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%ecx, (%r14,%rax,4)
LBB0_14:
	movl	20(%rbx), %edi
	callq	_DRV
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	movslq	(%r15), %rcx
	imulq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	leaq	(%rsi,%rcx,4), %rdx
	callq	*%rax
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:
	movq	8(%rbx), %rdi
	callq	_free
	movq	$0, 8(%rbx)
	jmp	LBB0_19
LBB0_18:
	movl	$-1, %r15d
LBB0_19:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IN_BINDTYPE_COUNT,4,2          ## @IN_BINDTYPE_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_in_bind_key                    ; -- Begin function in_bind_key
	.p2align	2
_in_bind_key:                           ; @in_bind_key
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	bl	_get_dev
	mov	x19, x0
	mov	w0, #-1
	cbz	x19, LBB0_16
; %bb.1:
Lloh0:
	adrp	x26, _IN_BINDTYPE_COUNT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IN_BINDTYPE_COUNT@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, w22
	b.le	LBB0_16
; %bb.2:
	ldr	w21, [x19]
	ldr	x24, [x19, #8]
	cbz	x24, LBB0_7
; %bb.3:
	mov	w0, #-1
	tbnz	w23, #31, LBB0_16
; %bb.4:
	cmp	w21, w23
	b.le	LBB0_16
; %bb.5:
	cbz	w25, LBB0_11
; %bb.6:
	mov	x0, x23
	mov	x1, x22
	bl	_IN_BIND_OFFS
	lsl	x8, x0, #2
	ldr	w9, [x24, x8]
	bic	w9, w9, w20
	b	LBB0_12
LBB0_7:
	cbnz	w25, LBB0_13
; %bb.8:
	ldr	w0, [x19, #20]
	mov	x1, x21
	bl	_in_alloc_binds
	str	x0, [x19, #8]
	cbz	x0, LBB0_15
; %bb.9:
	mov	x24, x0
	mov	w0, #-1
	tbnz	w23, #31, LBB0_16
; %bb.10:
	cmp	w21, w23
	b.le	LBB0_16
LBB0_11:
	mov	x0, x23
	mov	x1, x22
	bl	_IN_BIND_OFFS
	lsl	x8, x0, #2
	ldr	w9, [x24, x8]
	eor	w9, w9, w20
LBB0_12:
	str	w9, [x24, x8]
	ldr	w0, [x19, #20]
	bl	_DRV
	mov	x8, x0
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #8]
	ldr	w9, [x26]
	mul	w9, w9, w21
	add	x2, x1, w9, sxtw #2
	blr	x8
	cbz	w0, LBB0_14
LBB0_13:
	mov	w0, #0
	b	LBB0_16
LBB0_14:
	ldr	x0, [x19, #8]
	bl	_free
	mov	w0, #0
	str	xzr, [x19, #8]
	b	LBB0_16
LBB0_15:
	mov	w0, #-1
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IN_BINDTYPE_COUNT,4,2          ; @IN_BINDTYPE_COUNT
.subsections_via_symbols
