	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bm1880_pinconf_drv_set
_bm1880_pinconf_drv_set:                ## @bm1880_pinconf_drv_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %r8d
	addl	$-4, %edi
	roll	$30, %edi
	cmpl	$3, %esi
	jne	LBB0_10
## %bb.1:
	cmpl	$7, %edi
	ja	LBB0_20
## %bb.2:
	movl	%edi, %esi
	leaq	LJTI0_1(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_12:
	movl	$3, %esi
	jmp	LBB0_13
LBB0_10:
	cmpl	$3, %edi
	ja	LBB0_20
## %bb.11:
	movl	%edi, %edi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_13:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	jmp	LBB0_16
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_17:
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$2, %eax
	jmp	LBB0_18
LBB0_19:
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$3, %eax
LBB0_18:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%eax, %r8d
	jmp	LBB0_16
LBB0_14:
	movl	$3, %esi
LBB0_15:
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	btsl	%ecx, %r8d
	jmp	LBB0_16
LBB0_3:
	movl	$3, %esi
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$2, %esi
	jmp	LBB0_5
LBB0_4:
	movl	$3, %esi
	jmp	LBB0_5
LBB0_6:
	movl	$3, %esi
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$4, %esi
	jmp	LBB0_5
LBB0_7:
	movl	$3, %esi
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$5, %esi
	jmp	LBB0_5
LBB0_8:
	movl	$3, %esi
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$6, %esi
	jmp	LBB0_5
LBB0_9:
	movl	$3, %esi
	shll	%cl, %esi
	notl	%esi
	andl	%esi, %r8d
	movl	$7, %esi
LBB0_5:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	orl	%esi, %r8d
LBB0_16:
	movl	%r8d, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_19
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_3, LBB0_3-LJTI0_1
.set L0_1_set_4, LBB0_4-LJTI0_1
.set L0_1_set_6, LBB0_6-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
.set L0_1_set_8, LBB0_8-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
LJTI0_1:
	.long	L0_1_set_12
	.long	L0_1_set_14
	.long	L0_1_set_3
	.long	L0_1_set_4
	.long	L0_1_set_6
	.long	L0_1_set_7
	.long	L0_1_set_8
	.long	L0_1_set_9
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_bm1880_pinconf_drv_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bm1880_pinconf_drv_set
_bm1880_pinconf_drv_set:                ; @bm1880_pinconf_drv_set
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
	sub	w9, w0, #4
	ror	w9, w9, #2
	cmp	w1, #3
	b.ne	LBB0_4
; %bb.1:
	cmp	w9, #7
	b.hi	LBB0_8
; %bb.2:
Lloh0:
	adrp	x10, lJTI0_1@PAGE
Lloh1:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	mov	w9, #3
	lsl	w9, w9, w3
	b	LBB0_7
LBB0_4:
	cmp	w9, #3
	b.hi	LBB0_8
; %bb.5:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
	lsl	w9, w1, w3
LBB0_7:
	bic	w8, w8, w9
	b	LBB0_22
LBB0_8:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	lsl	w9, w1, w3
	b	LBB0_14
LBB0_10:
	lsl	w9, w1, w3
	b	LBB0_16
LBB0_11:
	lsl	w9, w1, w3
	bic	w8, w8, w9
LBB0_12:
	mov	w9, #3
	b	LBB0_21
LBB0_13:
	mov	w9, #3
	lsl	w9, w9, w3
LBB0_14:
	bic	w8, w8, w9
	mov	w9, #1
	b	LBB0_21
LBB0_15:
	mov	w9, #3
	lsl	w9, w9, w3
LBB0_16:
	bic	w8, w8, w9
	mov	w9, #2
	b	LBB0_21
LBB0_17:
	mov	w9, #3
	lsl	w9, w9, w3
	bic	w8, w8, w9
	mov	w9, #4
	b	LBB0_21
LBB0_18:
	mov	w9, #3
	lsl	w9, w9, w3
	bic	w8, w8, w9
	mov	w9, #5
	b	LBB0_21
LBB0_19:
	mov	w9, #3
	lsl	w9, w9, w3
	bic	w8, w8, w9
	mov	w9, #6
	b	LBB0_21
LBB0_20:
	mov	w9, #3
	lsl	w9, w9, w3
	bic	w8, w8, w9
	mov	w9, #7
LBB0_21:
	lsl	w9, w9, w3
	orr	w8, w8, w9
LBB0_22:
	mov	w0, #0
	str	w8, [x2]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
lJTI0_1:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_bm1880_pinconf_drv_set
.subsections_via_symbols
