	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sx150x_pinconf_set
_sx150x_pinconf_set:                    ## @sx150x_pinconf_set
	.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	%ecx, %ebx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	callq	_pinctrl_dev_get_drvdata
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.1:
	movq	%rax, %r12
	movl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rax
	movl	8(%rax), %r15d
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_BIT
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_BIT
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_regmap_write_bits
	testl	%eax, %eax
	js	LBB0_7
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r15d
	movq	(%rbx,%r14,8), %rdi
	callq	_pinconf_to_config_argument
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_sx150x_pin_is_oscio
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %r15d
	jne	LBB0_23
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	callq	_sx150x_gpio_direction_output
	testl	%eax, %eax
	jns	LBB0_3
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	$-128, %r15d
	cmpl	$6, %r15d
	ja	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r15,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %r13d
	movq	8(%r12), %rax
	movl	%ebx, %r15d
	movl	8(%rax), %ebx
	movl	%r15d, %edi
	callq	_BIT
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
	testl	%eax, %eax
	js	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %r13d
	movq	8(%r12), %rax
	movl	12(%rax), %ebx
	jmp	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	4(%rax), %eax
	xorl	%ebx, %ebx
	movq	_SX150X_789@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_sx150x_pin_is_oscio
	testq	%rax, %rax
	jne	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %r13d
	movq	8(%r12), %rax
	movl	(%rax), %ebx
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %edi
	callq	_BIT
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	4(%rax), %eax
	movq	_SX150X_789@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sx150x_pin_is_oscio
	testq	%rax, %rax
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rax
	movl	(%rax), %r15d
	jmp	LBB0_20
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rax
	movl	12(%rax), %r15d
	jmp	LBB0_20
LBB0_22:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_23:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_25
	.long	L0_0_set_10
	.long	L0_0_set_21
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_SX150X_789,4,2                 ## @SX150X_789
	.no_dead_strip	_sx150x_pinconf_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sx150x_pinconf_set
_sx150x_pinconf_set:                    ; @sx150x_pinconf_set
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	bl	_pinctrl_dev_get_drvdata
	cbz	w22, LBB0_21
; %bb.1:
	mov	x21, x0
	mov	w25, w22
Lloh0:
	adrp	x26, _SX150X_789@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SX150X_789@GOTPAGEOFF]
Lloh2:
	adrp	x27, lJTI0_0@PAGE
Lloh3:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w23, [x8, #12]
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_BIT
	mov	x24, x0
	mov	x0, x20
	bl	_BIT
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_regmap_write_bits
	tbnz	w0, #31, LBB0_23
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #8
	subs	x25, x25, #1
	b.eq	LBB0_21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	mov	x23, x0
	ldr	x0, [x19]
	bl	_pinconf_to_config_argument
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_sx150x_pin_is_oscio
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, #128
	b.ne	LBB0_22
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_sx150x_gpio_direction_output
	tbz	w0, #31, LBB0_5
	b	LBB0_23
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w23, #128
	cmp	w8, #6
	b.hi	LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w23, [x8, #8]
	mov	x0, x20
	bl	_BIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	w3, #0
	bl	_regmap_write_bits
	tbnz	w0, #31, LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w23, [x8, #12]
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #4]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_sx150x_pin_is_oscio
	cbnz	x0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w23, [x8]
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_BIT
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	w3, #0
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #4]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_sx150x_pin_is_oscio
	cbnz	x0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w23, [x8]
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w23, [x8, #8]
	b	LBB0_3
LBB0_21:
	mov	w0, #0
	b	LBB0_23
LBB0_22:
Lloh4:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_SX150X_789,4,2                 ; @SX150X_789
	.no_dead_strip	_sx150x_pinconf_set
.subsections_via_symbols
