	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_pconf_set_i2c0
_lpc18xx_pconf_set_i2c0:                ## @lpc18xx_pconf_set_i2c0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rcx, %rax
                                        ## kill: def $esi killed $esi def $rsi
	movq	_PIN_I2C0_SCL@GOTPCREL(%rip), %rcx
	cmpl	%r8d, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_LPC18XX_SCU_I2C0_SCL_SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_LPC18XX_SCU_I2C0_SDA_SHIFT@GOTPCREL(%rip), %rcx
LBB0_3:
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_6
## %bb.4:
	movl	(%rcx), %ecx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_5:
	movq	_LPC18XX_SCU_I2C0_EHD@GOTPCREL(%rip), %rsi
	jmp	LBB0_14
LBB0_6:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_12
LBB0_7:
	movq	_LPC18XX_SCU_I2C0_ZIF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	testl	%edx, %edx
	je	LBB0_15
LBB0_8:
	notl	%esi
	andl	%esi, (%rax)
	jmp	LBB0_16
LBB0_9:
	cmpl	$50, %edx
	je	LBB0_17
## %bb.10:
	cmpl	$3, %edx
	jne	LBB0_12
## %bb.11:
	movq	_LPC18XX_SCU_I2C0_EFP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, (%rax)
	jmp	LBB0_16
LBB0_12:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_13:
	movq	_LPC18XX_SCU_I2C0_EZI@GOTPCREL(%rip), %rsi
LBB0_14:
	movl	(%rsi), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	testl	%edx, %edx
	je	LBB0_8
LBB0_15:
	orl	%esi, (%rax)
LBB0_16:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_17:
	movq	_LPC18XX_SCU_I2C0_EFP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	notl	%edx
	andl	%edx, (%rax)
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_PIN_I2C0_SCL,4,2               ## @PIN_I2C0_SCL
	.comm	_LPC18XX_SCU_I2C0_SCL_SHIFT,4,2 ## @LPC18XX_SCU_I2C0_SCL_SHIFT
	.comm	_LPC18XX_SCU_I2C0_SDA_SHIFT,4,2 ## @LPC18XX_SCU_I2C0_SDA_SHIFT
	.comm	_LPC18XX_SCU_I2C0_EZI,4,2       ## @LPC18XX_SCU_I2C0_EZI
	.comm	_LPC18XX_SCU_I2C0_EHD,4,2       ## @LPC18XX_SCU_I2C0_EHD
	.comm	_LPC18XX_SCU_I2C0_EFP,4,2       ## @LPC18XX_SCU_I2C0_EFP
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_LPC18XX_SCU_I2C0_ZIF,4,2       ## @LPC18XX_SCU_I2C0_ZIF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Property not supported\n"

	.no_dead_strip	_lpc18xx_pconf_set_i2c0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc18xx_pconf_set_i2c0
_lpc18xx_pconf_set_i2c0:                ; @lpc18xx_pconf_set_i2c0
	.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
	sub	w9, w1, #128
Lloh0:
	adrp	x8, _PIN_I2C0_SCL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIN_I2C0_SCL@GOTPAGEOFF]
Lloh2:
	adrp	x10, _LPC18XX_SCU_I2C0_SCL_SHIFT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LPC18XX_SCU_I2C0_SCL_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x11, _LPC18XX_SCU_I2C0_SDA_SHIFT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _LPC18XX_SCU_I2C0_SDA_SHIFT@GOTPAGEOFF]
	cmp	w8, w4
	csel	x8, x10, x11, eq
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.1:
	ldr	w8, [x8]
Lloh7:
	adrp	x10, lJTI0_0@PAGE
Lloh8:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh9:
	adrp	x9, _LPC18XX_SCU_I2C0_EHD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_EHD@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
	ldr	w0, [x0]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_9
LBB0_4:
Lloh13:
	adrp	x9, _LPC18XX_SCU_I2C0_ZIF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_ZIF@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	cbz	w2, LBB0_12
LBB0_5:
	mov	w0, #0
	b	LBB0_15
LBB0_6:
	cmp	w2, #50
	b.eq	LBB0_14
; %bb.7:
	cmp	w2, #3
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
Lloh16:
	adrp	x9, _LPC18XX_SCU_I2C0_EFP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_EFP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	b	LBB0_13
LBB0_9:
Lloh19:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh22:
	adrp	x9, _LPC18XX_SCU_I2C0_EZI@GOTPAGE
Lloh23:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_EZI@GOTPAGEOFF]
LBB0_11:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	cbz	w2, LBB0_5
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldr	w9, [x3]
	orr	w8, w9, w8
	b	LBB0_16
LBB0_14:
	mov	w0, #0
Lloh24:
	adrp	x9, _LPC18XX_SCU_I2C0_EFP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_EFP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	lsl	w8, w9, w8
LBB0_15:
	ldr	w9, [x3]
	bic	w8, w9, w8
LBB0_16:
	str	w8, [x3]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_PIN_I2C0_SCL,4,2               ; @PIN_I2C0_SCL
	.comm	_LPC18XX_SCU_I2C0_SCL_SHIFT,4,2 ; @LPC18XX_SCU_I2C0_SCL_SHIFT
	.comm	_LPC18XX_SCU_I2C0_SDA_SHIFT,4,2 ; @LPC18XX_SCU_I2C0_SDA_SHIFT
	.comm	_LPC18XX_SCU_I2C0_EZI,4,2       ; @LPC18XX_SCU_I2C0_EZI
	.comm	_LPC18XX_SCU_I2C0_EHD,4,2       ; @LPC18XX_SCU_I2C0_EHD
	.comm	_LPC18XX_SCU_I2C0_EFP,4,2       ; @LPC18XX_SCU_I2C0_EFP
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_LPC18XX_SCU_I2C0_ZIF,4,2       ; @LPC18XX_SCU_I2C0_ZIF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Property not supported\n"

	.no_dead_strip	_lpc18xx_pconf_set_i2c0
.subsections_via_symbols
