	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm281xx_i2c_pin_update
_bcm281xx_i2c_pin_update:               ## @bcm281xx_i2c_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, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.1:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	setle	%r14b
	movq	_INPUT_DIS@GOTPCREL(%rip), %r12
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_I2C@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_BCM281XX_PIN_SHIFT
	movl	%eax, %ebx
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_BCM281XX_PIN_MASK
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_bcm281xx_pin_update
	incq	%r13
	cmpq	-72(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r13,8), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r14d
	movq	(%rbx,%r13,8), %rdi
	callq	_pinconf_to_config_argument
	movl	%eax, %r15d
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	_PULL_UP_STR@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	jmpq	*%rax
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	setg	%r14b
	movq	_SLEW@GOTPCREL(%rip), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_bcm281xx_pullup_map@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	cmpl	%r15d, (%rdi,%r14,4)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%r14
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r14
	jl	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r14d
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movq	_PULL_UP_STR@GOTPCREL(%rip), %r12
	jmp	LBB0_14
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r8d, %ecx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	jmp	LBB0_9
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r8d, %ecx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
LBB0_9:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	addq	$56, %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_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_bcm281xx_pullup_map,8,3        ## @bcm281xx_pullup_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid pull-up value (%d) for pin %s (%d). Valid values are 568, 720, 831, 1080, 1200, 1800, 2700 Ohms.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_I2C,4,2                        ## @I2C
	.comm	_PULL_UP_STR,4,2                ## @PULL_UP_STR
	.comm	_SLEW,4,2                       ## @SLEW
	.comm	_INPUT_DIS,4,2                  ## @INPUT_DIS
L_.str.1:                               ## @.str.1
	.asciz	"Unrecognized pin config %d for pin %s (%d).\n"

	.no_dead_strip	_bcm281xx_i2c_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_i2c_pin_update
_bcm281xx_i2c_pin_update:               ; @bcm281xx_i2c_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_14
; %bb.1:
	stp	x0, x21, [sp, #8]               ; 16-byte Folded Spill
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	mov	x27, #0
	mov	w19, w25
Lloh0:
	adrp	x21, _I2C@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I2C@GOTPAGEOFF]
Lloh2:
	adrp	x24, _bcm281xx_pullup_map@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bcm281xx_pullup_map@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #1
	cset	w26, lt
Lloh4:
	adrp	x28, _INPUT_DIS@GOTPAGE
Lloh5:
	ldr	x28, [x28, _INPUT_DIS@GOTPAGEOFF]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_SHIFT
	mov	x25, x0
	ldr	w0, [x21]
	ldr	w1, [x28]
	bl	_BCM281XX_PIN_MASK
	mov	x4, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x26
	mov	x3, x25
	bl	_bcm281xx_pin_update
	add	x27, x27, #1
	cmp	x27, x19
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	lsl	x25, x27, #3
	ldr	x0, [x23, x25]
	bl	_pinconf_to_config_param
	mov	x26, x0
	ldr	x0, [x23, x25]
	bl	_pinconf_to_config_argument
	sub	w8, w26, #128
	cmp	w8, #3
	b.hi	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	mov	w26, #0
Lloh6:
	adrp	x11, lJTI0_0@PAGE
Lloh7:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_2
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
Lloh8:
	adrp	x28, _PULL_UP_STR@GOTPAGE
Lloh9:
	ldr	x28, [x28, _PULL_UP_STR@GOTPAGEOFF]
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #0
	cset	w26, gt
Lloh10:
	adrp	x28, _SLEW@GOTPAGE
Lloh11:
	ldr	x28, [x28, _SLEW@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x24]
	ldr	w8, [x0, x26, lsl #2]
	cmp	w8, w25
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	cmp	x26, w0, sxtw
	b.lt	LBB0_9
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w26, w0
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
Lloh12:
	adrp	x28, _PULL_UP_STR@GOTPAGE
Lloh13:
	ldr	x28, [x28, _PULL_UP_STR@GOTPAGEOFF]
	b	LBB0_3
LBB0_14:
	mov	w0, #0
	b	LBB0_18
LBB0_15:
	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]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x26
	b	LBB0_17
LBB0_16:
	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@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
LBB0_17:
	bl	_dev_err
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_bcm281xx_pullup_map,8,3        ; @bcm281xx_pullup_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid pull-up value (%d) for pin %s (%d). Valid values are 568, 720, 831, 1080, 1200, 1800, 2700 Ohms.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_I2C,4,2                        ; @I2C
	.comm	_PULL_UP_STR,4,2                ; @PULL_UP_STR
	.comm	_SLEW,4,2                       ; @SLEW
	.comm	_INPUT_DIS,4,2                  ; @INPUT_DIS
l_.str.1:                               ; @.str.1
	.asciz	"Unrecognized pin config %d for pin %s (%d).\n"

	.no_dead_strip	_bcm281xx_i2c_pin_update
.subsections_via_symbols
