	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm281xx_std_pin_update
_bcm281xx_std_pin_update:               ## @bcm281xx_std_pin_update
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %r12
	movl	%ecx, %r15d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setg	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %r15
	movq	_HYST@GOTPCREL(%rip), %r13
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_STD@GOTPCREL(%rip), %r14
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movl	(%r13), %esi
	callq	_BCM281XX_PIN_SHIFT
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	(%r13), %esi
	callq	_BCM281XX_PIN_MASK
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_bcm281xx_pin_update
	incq	%r12
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	movq	%r15, %r13
	je	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r12,8), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r14d
	movq	(%rbx,%r12,8), %rdi
	callq	_pinconf_to_config_argument
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%r14), %ecx
	cmpl	$6, %ecx
	ja	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setg	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %r15
	movq	_SLEW@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setle	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %r15
	movq	_INPUT_DIS@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	-2(%rax), %ecx
	cmpl	$14, %ecx
	ja	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	andl	$1, %ecx
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	shrl	%eax
	decl	%eax
	movq	%r13, %r15
	movq	_DRV_STR@GOTPCREL(%rip), %r13
                                        ## kill: def $eax killed $eax killed $rax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_17
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_STD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_PULL_UP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_BCM281XX_PIN_SHIFT
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_BCM281XX_PIN_MASK
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_bcm281xx_pin_update
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_STD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_PULL_UP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_BCM281XX_PIN_SHIFT
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_BCM281XX_PIN_MASK
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_bcm281xx_pin_update
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_STD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_PULL_UP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_BCM281XX_PIN_SHIFT
	movl	%eax, %ebx
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	_BCM281XX_PIN_MASK
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_bcm281xx_pin_update
	movq	%r15, %r14
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r15
	movq	_PULL_DN@GOTPCREL(%rip), %r13
	jmp	LBB0_18
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r8d, %ecx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	jmp	LBB0_13
LBB0_12:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r8d, %edx
	movl	(%rcx,%rdx,4), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
LBB0_13:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_STD,4,2                        ## @STD
	.comm	_HYST,4,2                       ## @HYST
	.comm	_PULL_UP,4,2                    ## @PULL_UP
	.comm	_PULL_DN,4,2                    ## @PULL_DN
	.comm	_SLEW,4,2                       ## @SLEW
	.comm	_INPUT_DIS,4,2                  ## @INPUT_DIS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Drive Strength value (%d) for pin %s (%d). Valid values are (2..16) mA, even numbers only.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DRV_STR,4,2                    ## @DRV_STR
L_.str.1:                               ## @.str.1
	.asciz	"Unrecognized pin config %d for pin %s (%d).\n"

	.no_dead_strip	_bcm281xx_std_pin_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm281xx_std_pin_update
_bcm281xx_std_pin_update:               ; @bcm281xx_std_pin_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x5
	mov	x22, x4
	mov	x25, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	bl	_pinctrl_dev_get_drvdata
	cbz	w25, LBB0_15
; %bb.1:
	stp	x0, x21, [sp, #8]               ; 16-byte Folded Spill
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	mov	w27, w25
Lloh0:
	adrp	x24, _STD@GOTPAGE
Lloh1:
	ldr	x24, [x24, _STD@GOTPAGEOFF]
Lloh2:
	adrp	x19, lJTI0_0@PAGE
Lloh3:
	add	x19, x19, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x28, _PULL_UP@GOTPAGE
Lloh5:
	ldr	x28, [x28, _PULL_UP@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_SHIFT
	mov	x25, x0
	ldr	w0, [x24]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_MASK
	mov	x4, x0
	mov	x0, x22
	mov	x1, x20
	mov	w2, #0
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x3, x25
	bl	_bcm281xx_pin_update
	mov	w25, #0
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh6:
	adrp	x21, _PULL_DN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _PULL_DN@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x21]
	bl	_BCM281XX_PIN_SHIFT
	mov	x26, x0
	ldr	w0, [x24]
	ldr	w1, [x21]
	bl	_BCM281XX_PIN_MASK
	mov	x4, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x25
	mov	x3, x26
	bl	_bcm281xx_pin_update
	add	x23, x23, #8
	subs	x27, x27, #1
	b.eq	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	bl	_pinconf_to_config_param
	mov	x25, x0
	ldr	x0, [x23]
	bl	_pinconf_to_config_argument
	sub	w8, w25, #128
	cmp	w8, #6
	b.hi	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, x0
	adr	x9, LBB0_2
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w2, #0
	cset	w25, gt
Lloh8:
	adrp	x21, _SLEW@GOTPAGE
Lloh9:
	ldr	x21, [x21, _SLEW@GOTPAGEOFF]
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w2, #0
	cset	w25, gt
Lloh10:
	adrp	x21, _HYST@GOTPAGE
Lloh11:
	ldr	x21, [x21, _HYST@GOTPAGEOFF]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w2, #1
	cset	w25, lt
Lloh12:
	adrp	x21, _INPUT_DIS@GOTPAGE
Lloh13:
	ldr	x21, [x21, _INPUT_DIS@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w2, #2
	and	w9, w2, #0x1
	cmp	w8, #14
	ccmp	w9, #0, #0, ls
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	lsr	w8, w2, #1
	sub	w25, w8, #1
Lloh14:
	adrp	x21, _DRV_STR@GOTPAGE
Lloh15:
	ldr	x21, [x21, _DRV_STR@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_SHIFT
	mov	x25, x0
	ldr	w0, [x24]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_MASK
	mov	x4, x0
	mov	x0, x22
	mov	x1, x20
	mov	w2, #1
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_SHIFT
	mov	x25, x0
	ldr	w0, [x24]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_MASK
	mov	x4, x0
	mov	x0, x22
	mov	x1, x20
	mov	w2, #0
	mov	x3, x25
	bl	_bcm281xx_pin_update
	mov	w25, #1
	b	LBB0_4
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w3, [x8, w4, uxtw #2]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x25
	b	LBB0_19
LBB0_18:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w3, [x8, w4, uxtw #2]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
LBB0_19:
	bl	_dev_err
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_STD,4,2                        ; @STD
	.comm	_HYST,4,2                       ; @HYST
	.comm	_PULL_UP,4,2                    ; @PULL_UP
	.comm	_PULL_DN,4,2                    ; @PULL_DN
	.comm	_SLEW,4,2                       ; @SLEW
	.comm	_INPUT_DIS,4,2                  ; @INPUT_DIS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Drive Strength value (%d) for pin %s (%d). Valid values are (2..16) mA, even numbers only.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DRV_STR,4,2                    ; @DRV_STR
l_.str.1:                               ; @.str.1
	.asciz	"Unrecognized pin config %d for pin %s (%d).\n"

	.no_dead_strip	_bcm281xx_std_pin_update
.subsections_via_symbols
