	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_client_use_ptr         ## -- Begin function snd_seq_client_use_ptr
	.p2align	4, 0x90
_snd_seq_client_use_ptr:                ## @snd_seq_client_use_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	js	LBB0_4
## %bb.1:
	movq	_SNDRV_SEQ_MAX_CLIENTS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_4
## %bb.2:
	movq	_clients_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movl	%ebx, %edi
	callq	_clientptr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_snd_use_lock_use
	movq	_clients_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_snd_printd
	jmp	LBB0_6
LBB0_5:
	movq	_clients_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_SEQ_MAX_CLIENTS,4,2      ## @SNDRV_SEQ_MAX_CLIENTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Seq: oops. Trying to get pointer to client %d\n"

	.comm	_clients_lock,4,2               ## @clients_lock
	.comm	_clienttablock,8,3              ## @clienttablock
	.comm	_SNDRV_CARDS,4,2                ## @SNDRV_CARDS
	.comm	_SNDRV_SEQ_CLIENTS_PER_CARD,4,2 ## @SNDRV_SEQ_CLIENTS_PER_CARD
	.comm	_SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN,4,2 ## @SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN
	.comm	_SNDRV_SEQ_GLOBAL_CLIENTS,4,2   ## @SNDRV_SEQ_GLOBAL_CLIENTS
	.comm	_seq_client_load,8,3            ## @seq_client_load
	.comm	_snd_ecards_limit,4,2           ## @snd_ecards_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_seq_client_use_ptr         ; -- Begin function snd_seq_client_use_ptr
	.p2align	2
_snd_seq_client_use_ptr:                ; @snd_seq_client_use_ptr
	.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
	mov	x19, x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _SNDRV_SEQ_MAX_CLIENTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_SEQ_MAX_CLIENTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_5
; %bb.2:
Lloh3:
	adrp	x0, _clients_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _clients_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_clientptr
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_snd_use_lock_use
LBB0_4:
Lloh5:
	adrp	x0, _clients_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _clients_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_snd_printd
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_SEQ_MAX_CLIENTS,4,2      ; @SNDRV_SEQ_MAX_CLIENTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Seq: oops. Trying to get pointer to client %d\n"

	.comm	_clients_lock,4,2               ; @clients_lock
	.comm	_clienttablock,8,3              ; @clienttablock
	.comm	_SNDRV_CARDS,4,2                ; @SNDRV_CARDS
	.comm	_SNDRV_SEQ_CLIENTS_PER_CARD,4,2 ; @SNDRV_SEQ_CLIENTS_PER_CARD
	.comm	_SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN,4,2 ; @SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN
	.comm	_SNDRV_SEQ_GLOBAL_CLIENTS,4,2   ; @SNDRV_SEQ_GLOBAL_CLIENTS
	.comm	_seq_client_load,8,3            ; @seq_client_load
	.comm	_snd_ecards_limit,4,2           ; @snd_ecards_limit
.subsections_via_symbols
