	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_valid_pin_function
_lpc18xx_valid_pin_function:            ## @lpc18xx_valid_pin_function
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_lpc18xx_pins@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movq	(%rax,%rcx,8), %rcx
	movq	_FUNC_DAC@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%rcx), %rdx
	movq	_DAC@GOTPCREL(%rip), %rdi
	movl	$1, %eax
	cmpq	(%rdi), %rdx
	je	LBB0_14
LBB0_2:
	movq	_FUNC_ADC@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	$1, %eax
	cmpq	$0, (%rcx)
	je	LBB0_4
LBB0_14:
	popq	%rbp
	retq
LBB0_4:
	movq	_FUNC_I2C0@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	8(%rcx), %rdx
	movq	_TYPE_I2C0@GOTPCREL(%rip), %rdi
	movl	$1, %eax
	cmpq	(%rdi), %rdx
	je	LBB0_14
LBB0_6:
	movq	_FUNC_USB1@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	8(%rcx), %rdx
	movq	_TYPE_USB1@GOTPCREL(%rip), %rdi
	movl	$1, %eax
	cmpq	(%rdi), %rdx
	je	LBB0_14
LBB0_8:
	movq	_LPC18XX_SCU_FUNC_PER_PIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.9:
	movq	16(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rcx,%rdx,4)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_13:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lpc18xx_pins,8,3               ## @lpc18xx_pins
	.comm	_FUNC_DAC,4,2                   ## @FUNC_DAC
	.comm	_DAC,8,3                        ## @DAC
	.comm	_FUNC_ADC,4,2                   ## @FUNC_ADC
	.comm	_FUNC_I2C0,4,2                  ## @FUNC_I2C0
	.comm	_TYPE_I2C0,8,3                  ## @TYPE_I2C0
	.comm	_FUNC_USB1,4,2                  ## @FUNC_USB1
	.comm	_TYPE_USB1,8,3                  ## @TYPE_USB1
	.comm	_LPC18XX_SCU_FUNC_PER_PIN,4,2   ## @LPC18XX_SCU_FUNC_PER_PIN
	.no_dead_strip	_lpc18xx_valid_pin_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc18xx_valid_pin_function
_lpc18xx_valid_pin_function:            ; @lpc18xx_valid_pin_function
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _lpc18xx_pins@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lpc18xx_pins@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
Lloh3:
	adrp	x9, _FUNC_DAC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FUNC_DAC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x8]
Lloh6:
	adrp	x10, _DAC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DAC@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_8
LBB0_2:
Lloh9:
	adrp	x9, _FUNC_ADC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FUNC_ADC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ne	LBB0_4
; %bb.3:
	ldr	x9, [x8]
	cbnz	x9, LBB0_8
LBB0_4:
Lloh12:
	adrp	x9, _FUNC_I2C0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FUNC_I2C0@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ne	LBB0_6
; %bb.5:
	ldr	x9, [x8, #8]
Lloh15:
	adrp	x10, _TYPE_I2C0@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TYPE_I2C0@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_8
LBB0_6:
Lloh18:
	adrp	x9, _FUNC_USB1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FUNC_USB1@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ne	LBB0_9
; %bb.7:
	ldr	x9, [x8, #8]
Lloh21:
	adrp	x10, _TYPE_USB1@GOTPAGE
Lloh22:
	ldr	x10, [x10, _TYPE_USB1@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
LBB0_8:
	mov	w0, #1
	ret
LBB0_9:
Lloh24:
	adrp	x9, _LPC18XX_SCU_FUNC_PER_PIN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _LPC18XX_SCU_FUNC_PER_PIN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.10:
	ldr	x8, [x8, #16]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w10, w1
	b.eq	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_11
LBB0_13:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_lpc18xx_pins,8,3               ; @lpc18xx_pins
	.comm	_FUNC_DAC,4,2                   ; @FUNC_DAC
	.comm	_DAC,8,3                        ; @DAC
	.comm	_FUNC_ADC,4,2                   ; @FUNC_ADC
	.comm	_FUNC_I2C0,4,2                  ; @FUNC_I2C0
	.comm	_TYPE_I2C0,8,3                  ; @TYPE_I2C0
	.comm	_FUNC_USB1,4,2                  ; @FUNC_USB1
	.comm	_TYPE_USB1,8,3                  ; @TYPE_USB1
	.comm	_LPC18XX_SCU_FUNC_PER_PIN,4,2   ; @LPC18XX_SCU_FUNC_PER_PIN
	.no_dead_strip	_lpc18xx_valid_pin_function
.subsections_via_symbols
