	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcs_get_pin_by_offset
_pcs_get_pin_by_offset:                 ## @pcs_get_pin_by_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %r8d
	movl	(%rdi), %ecx
	cmpl	%esi, %ecx
	jbe	LBB0_1
## %bb.2:
	cmpq	$0, 16(%rdi)
	je	LBB0_4
## %bb.3:
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rax
	imull	(%rax), %r8d
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	4(%rdi)
	popq	%rbp
	retq
LBB0_1:
	movl	24(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r8d, %edx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movl	8(%rdi), %eax
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %ecx
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%ecx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mux offset out of range: 0x%x (0x%x)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BITS_PER_BYTE,4,2              ## @BITS_PER_BYTE
	.no_dead_strip	_pcs_get_pin_by_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcs_get_pin_by_offset
_pcs_get_pin_by_offset:                 ; @pcs_get_pin_by_offset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
	ldr	w3, [x0]
	cmp	w3, w1
	b.ls	LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _BITS_PER_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w8, w8, w2
	ldr	w9, [x0, #4]
	udiv	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x0, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x0, #8]
Lloh8:
	adrp	x9, _BITS_PER_BYTE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	udiv	w8, w8, w9
	udiv	w0, w2, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mux offset out of range: 0x%x (0x%x)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BITS_PER_BYTE,4,2              ; @BITS_PER_BYTE
	.no_dead_strip	_pcs_get_pin_by_offset
.subsections_via_symbols
