	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_pconf_get_pin
_lpc18xx_pconf_get_pin:                 ## @lpc18xx_pconf_get_pin
	.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 $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_15
## %bb.1:
	movl	%ecx, %r10d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%r9), %eax
	movq	_TYPE_HD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_15
## %bb.3:
	movq	_LPC18XX_SCU_PIN_EHS@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	jne	LBB0_19
## %bb.4:
	movl	$0, (%rdx)
	jmp	LBB0_20
LBB0_5:
	movq	_LPC18XX_SCU_PIN_ZIF@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	jne	LBB0_22
	jmp	LBB0_19
LBB0_6:
	movq	_LPC18XX_SCU_PIN_EZI@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	jne	LBB0_19
	jmp	LBB0_22
LBB0_7:
	movq	%rdx, %rsi
	movl	%r8d, %edx
	popq	%rbp
	jmp	_lpc18xx_pconf_get_gpio_pin_int ## TAILCALL
LBB0_8:
	movl	(%r9), %eax
	movq	_TYPE_HD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.9:
	movq	_LPC18XX_SCU_PIN_EHD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r10d
	movq	_LPC18XX_SCU_PIN_EHD_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r10d
	movl	%r10d, (%rdx)
	xorl	%eax, %eax
	cmpl	$3, %r10d
	ja	LBB0_24
## %bb.10:
	movl	$4, %esi
	movl	$7, %r8d
	leaq	LJTI0_1(%rip), %rdi
	movslq	(%rdi,%r10,4), %rcx
	addq	%rdi, %rcx
	jmpq	*%rcx
LBB0_11:
	movl	$13, %r8d
LBB0_12:
	movl	%r8d, %r10d
LBB0_13:
	addl	$7, %r10d
	movl	%r10d, %esi
LBB0_14:
	movl	%esi, (%rdx)
	popq	%rbp
	retq
LBB0_15:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_16:
	movq	_LPC18XX_SCU_PIN_EPUN@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	jne	LBB0_22
	jmp	LBB0_19
LBB0_17:
	movq	_LPC18XX_SCU_PIN_EPD@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_22
LBB0_19:
	movl	$1, (%rdx)
LBB0_20:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_21:
	movq	_LPC18XX_SCU_PIN_EPD@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_25
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_23:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_24:
	popq	%rbp
	retq
LBB0_25:
	movq	_LPC18XX_SCU_PIN_EPUN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%r10d, (%rcx)
	jne	LBB0_24
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_21
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
LJTI0_1:
	.long	L0_1_set_14
	.long	L0_1_set_13
	.long	L0_1_set_12
	.long	L0_1_set_11
	.end_data_region
                                        ## -- End function
	.comm	_LPC18XX_SCU_PIN_EPD,4,2        ## @LPC18XX_SCU_PIN_EPD
	.comm	_LPC18XX_SCU_PIN_EPUN,4,2       ## @LPC18XX_SCU_PIN_EPUN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LPC18XX_SCU_PIN_EZI,4,2        ## @LPC18XX_SCU_PIN_EZI
	.comm	_TYPE_HD,4,2                    ## @TYPE_HD
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_LPC18XX_SCU_PIN_EHS,4,2        ## @LPC18XX_SCU_PIN_EHS
	.comm	_LPC18XX_SCU_PIN_ZIF,4,2        ## @LPC18XX_SCU_PIN_ZIF
	.comm	_LPC18XX_SCU_PIN_EHD_MASK,4,2   ## @LPC18XX_SCU_PIN_EHD_MASK
	.comm	_LPC18XX_SCU_PIN_EHD_POS,4,2    ## @LPC18XX_SCU_PIN_EHD_POS
	.no_dead_strip	_lpc18xx_pconf_get_pin
.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_pin
_lpc18xx_pconf_get_pin:                 ; @lpc18xx_pconf_get_pin
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_15
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x5]
Lloh2:
	adrp	x9, _TYPE_HD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TYPE_HD@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_15
; %bb.3:
Lloh5:
	adrp	x8, _LPC18XX_SCU_PIN_EHS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EHS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w3
	b.ne	LBB0_20
; %bb.4:
	mov	w0, #0
	str	wzr, [x2]
	ret
LBB0_5:
Lloh8:
	adrp	x8, _LPC18XX_SCU_PIN_ZIF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_ZIF@GOTPAGEOFF]
	b	LBB0_17
LBB0_6:
Lloh10:
	adrp	x8, _LPC18XX_SCU_PIN_EZI@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EZI@GOTPAGEOFF]
	b	LBB0_19
LBB0_7:
	mov	x1, x2
	mov	x2, x4
	b	_lpc18xx_pconf_get_gpio_pin_int
LBB0_8:
	ldr	w8, [x5]
Lloh12:
	adrp	x9, _TYPE_HD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TYPE_HD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.9:
Lloh15:
	adrp	x8, _LPC18XX_SCU_PIN_EHD_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EHD_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w3
Lloh18:
	adrp	x9, _LPC18XX_SCU_PIN_EHD_POS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LPC18XX_SCU_PIN_EHD_POS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	asr	w8, w8, w9
	str	w8, [x2]
	cmp	w8, #3
	b.hi	LBB0_25
; %bb.10:
	mov	w9, #4
	mov	w10, #7
Lloh21:
	adrp	x11, lJTI0_1@PAGE
Lloh22:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x12, LBB0_11
	ldrb	w13, [x11, x8]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_11:
	mov	w10, #13
LBB0_12:
	mov	x8, x10
LBB0_13:
	add	w9, w8, #7
LBB0_14:
	mov	w0, #0
	str	w9, [x2]
	ret
LBB0_15:
Lloh23:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_23
LBB0_16:
Lloh25:
	adrp	x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	tst	w8, w3
	b.ne	LBB0_22
	b	LBB0_20
LBB0_18:
Lloh27:
	adrp	x8, _LPC18XX_SCU_PIN_EPD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPD@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_22
LBB0_20:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x2]
	ret
LBB0_21:
Lloh29:
	adrp	x8, _LPC18XX_SCU_PIN_EPD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPD@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_24
LBB0_22:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_24:
Lloh34:
	adrp	x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_22
LBB0_25:
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_14-LBB0_11)>>2
	.byte	(LBB0_13-LBB0_11)>>2
	.byte	(LBB0_12-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
                                        ; -- End function
	.comm	_LPC18XX_SCU_PIN_EPD,4,2        ; @LPC18XX_SCU_PIN_EPD
	.comm	_LPC18XX_SCU_PIN_EPUN,4,2       ; @LPC18XX_SCU_PIN_EPUN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LPC18XX_SCU_PIN_EZI,4,2        ; @LPC18XX_SCU_PIN_EZI
	.comm	_TYPE_HD,4,2                    ; @TYPE_HD
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_LPC18XX_SCU_PIN_EHS,4,2        ; @LPC18XX_SCU_PIN_EHS
	.comm	_LPC18XX_SCU_PIN_ZIF,4,2        ; @LPC18XX_SCU_PIN_ZIF
	.comm	_LPC18XX_SCU_PIN_EHD_MASK,4,2   ; @LPC18XX_SCU_PIN_EHD_MASK
	.comm	_LPC18XX_SCU_PIN_EHD_POS,4,2    ; @LPC18XX_SCU_PIN_EHD_POS
	.no_dead_strip	_lpc18xx_pconf_get_pin
.subsections_via_symbols
