	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_pconf_get_i2c0
_lpc18xx_pconf_get_i2c0:                ## @lpc18xx_pconf_get_i2c0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_PIN_I2C0_SCL@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_LPC18XX_SCU_I2C0_SCL_SHIFT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_LPC18XX_SCU_I2C0_SDA_SHIFT@GOTPCREL(%rip), %rax
LBB0_3:
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_7
## %bb.4:
	movl	(%rax), %ecx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_5:
	movq	_LPC18XX_SCU_I2C0_EHD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%edx, %eax
	jne	LBB0_14
## %bb.6:
	movl	$0, (%rsi)
	jmp	LBB0_15
LBB0_7:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	_LPC18XX_SCU_I2C0_ZIF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%edx, %eax
	je	LBB0_14
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_11:
	movq	_LPC18XX_SCU_I2C0_EFP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%edx, %eax
	je	LBB0_16
## %bb.12:
	movl	$3, (%rsi)
	jmp	LBB0_15
LBB0_13:
	movq	_LPC18XX_SCU_I2C0_EZI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	testl	%edx, %eax
	je	LBB0_9
LBB0_14:
	movl	$1, (%rsi)
	jmp	LBB0_15
LBB0_16:
	movl	$50, (%rsi)
LBB0_15:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_11
	.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	_EINVAL,4,2                     ## @EINVAL
	.comm	_LPC18XX_SCU_I2C0_EHD,4,2       ## @LPC18XX_SCU_I2C0_EHD
	.comm	_LPC18XX_SCU_I2C0_EFP,4,2       ## @LPC18XX_SCU_I2C0_EFP
	.comm	_LPC18XX_SCU_I2C0_ZIF,4,2       ## @LPC18XX_SCU_I2C0_ZIF
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_lpc18xx_pconf_get_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_get_i2c0
_lpc18xx_pconf_get_i2c0:                ; @lpc18xx_pconf_get_i2c0
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PIN_I2C0_SCL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIN_I2C0_SCL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LPC18XX_SCU_I2C0_SCL_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_SCL_SHIFT@GOTPAGEOFF]
Lloh5:
	adrp	x10, _LPC18XX_SCU_I2C0_SDA_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LPC18XX_SCU_I2C0_SDA_SHIFT@GOTPAGEOFF]
	cmp	w8, w3
	csel	x8, x9, x10, eq
	sub	w9, w0, #128
	cmp	w9, #3
	b.hi	LBB0_4
; %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]
Lloh11:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	tst	w8, w2
	b.ne	LBB0_11
; %bb.3:
	mov	w0, #0
	str	wzr, [x1]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh14:
	adrp	x9, _LPC18XX_SCU_I2C0_ZIF@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_ZIF@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_11
LBB0_6:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_8:
Lloh19:
	adrp	x9, _LPC18XX_SCU_I2C0_EFP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_EFP@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_12
; %bb.9:
	mov	w0, #0
	mov	w8, #3
	str	w8, [x1]
	ret
LBB0_10:
Lloh22:
	adrp	x9, _LPC18XX_SCU_I2C0_EZI@GOTPAGE
Lloh23:
	ldr	x9, [x9, _LPC18XX_SCU_I2C0_EZI@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_6
LBB0_11:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x1]
	ret
LBB0_12:
	mov	w0, #0
	mov	w8, #50
	str	w8, [x1]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-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	_EINVAL,4,2                     ; @EINVAL
	.comm	_LPC18XX_SCU_I2C0_EHD,4,2       ; @LPC18XX_SCU_I2C0_EHD
	.comm	_LPC18XX_SCU_I2C0_EFP,4,2       ; @LPC18XX_SCU_I2C0_EFP
	.comm	_LPC18XX_SCU_I2C0_ZIF,4,2       ; @LPC18XX_SCU_I2C0_ZIF
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_lpc18xx_pconf_get_i2c0
.subsections_via_symbols
